]> err.no Git - linux-2.6/commitdiff
Fixed problem with get_cmd_string not existing if CONFIG_IPW_DEBUG disabled.
authorJames Ketrenos <jketreno@linux.intel.com>
Wed, 7 Sep 2005 23:19:08 +0000 (18:19 -0500)
committerJames Ketrenos <jketreno@linux.intel.com>
Mon, 7 Nov 2005 23:51:36 +0000 (17:51 -0600)
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
drivers/net/wireless/ipw2200.c

index e36a1fd9eefd3db6b5745810f2efaeab31850665..43dab7a5cc91189a41776436c754a0410d1cb5b9 100644 (file)
@@ -1809,7 +1809,6 @@ static void ipw_irq_tasklet(struct ipw_priv *priv)
        spin_unlock_irqrestore(&priv->lock, flags);
 }
 
-#ifdef CONFIG_IPW_DEBUG
 #define IPW_CMD(x) case IPW_CMD_ ## x : return #x
 static char *get_cmd_string(u8 cmd)
 {
@@ -1868,7 +1867,6 @@ static char *get_cmd_string(u8 cmd)
                return "UNKNOWN";
        }
 }
-#endif
 
 #define HOST_COMPLETE_TIMEOUT HZ
 static int ipw_send_cmd(struct ipw_priv *priv, struct host_cmd *cmd)