Skip to content

Commit

Permalink
Fixed problem with get_cmd_string not existing if CONFIG_IPW_DEBUG di…
Browse files Browse the repository at this point in the history
…sabled.

Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
  • Loading branch information
James Ketrenos committed Nov 7, 2005
1 parent cdd1fa1 commit fb7ccc9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit fb7ccc9

Please sign in to comment.