From 78197e7d4d0616c848b92928617cea484c86e85c Mon Sep 17 00:00:00 2001 From: "Alessandro Zummo, IZ1PRB" Date: Mon, 9 Feb 2009 20:37:48 +0000 Subject: [PATCH] removed comment about switch optimizatons. the compiler will generate the assembly code in a different order which is usually based on the case value. other compiler optimizations might also affect it, so it's useless to optimize the order. git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2626 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- kenwood/kenwood.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kenwood/kenwood.c b/kenwood/kenwood.c index 0916a0e6e..4f3e235f8 100644 --- a/kenwood/kenwood.c +++ b/kenwood/kenwood.c @@ -3,7 +3,7 @@ * Copyright (c) 2000-2009 by Stephane Fillod * Copyright (C) 2009 Alessandro Zummo * - * $Id: kenwood.c,v 1.113 2009-02-06 14:15:12 azummo Exp $ + * $Id: kenwood.c,v 1.114 2009-02-09 20:37:48 azummo Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -1097,9 +1097,6 @@ int kenwood_set_func(RIG *rig, vfo_t vfo, setting_t func, int status) { char buf[6]; - /* Optimize: - * sort the switch cases with the most frequent first - */ switch (func) { case RIG_FUNC_NB: sprintf(buf, "NB%c", (status == 0) ? '0' : '1');