diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2009-07-24 14:13:13 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-29 15:45:54 -0400 |
commit | 6686d17e161dcd0dc6801bcde9e397020bf9edf7 (patch) | |
tree | 37027572dae733596d61914aa74c66224b86b9ac | |
parent | f7ea097d9b4e61a816c041c92548aad7c7ed7915 (diff) |
iwlagn: fix sparse warning when compiling without debug
C [M] drivers/net/wireless/iwlwifi/iwl-core.o
drivers/net/wireless/iwlwifi/iwl-core.c:1341: warning:
‘iwl_dump_nic_error_log’ defined but not used
Reported-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 710dd41c3418..aafa9fdd6476 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -1291,7 +1291,6 @@ static void iwl_print_rx_config_cmd(struct iwl_priv *priv) | |||
1291 | IWL_DEBUG_RADIO(priv, "u8[6] bssid_addr: %pM\n", rxon->bssid_addr); | 1291 | IWL_DEBUG_RADIO(priv, "u8[6] bssid_addr: %pM\n", rxon->bssid_addr); |
1292 | IWL_DEBUG_RADIO(priv, "u16 assoc_id: 0x%x\n", le16_to_cpu(rxon->assoc_id)); | 1292 | IWL_DEBUG_RADIO(priv, "u16 assoc_id: 0x%x\n", le16_to_cpu(rxon->assoc_id)); |
1293 | } | 1293 | } |
1294 | #endif | ||
1295 | 1294 | ||
1296 | static const char *desc_lookup_text[] = { | 1295 | static const char *desc_lookup_text[] = { |
1297 | "OK", | 1296 | "OK", |
@@ -1496,6 +1495,7 @@ void iwl_dump_nic_event_log(struct iwl_priv *priv) | |||
1496 | iwl_print_event_log(priv, 0, next_entry, mode); | 1495 | iwl_print_event_log(priv, 0, next_entry, mode); |
1497 | 1496 | ||
1498 | } | 1497 | } |
1498 | #endif | ||
1499 | /** | 1499 | /** |
1500 | * iwl_irq_handle_error - called for HW or SW error interrupt from card | 1500 | * iwl_irq_handle_error - called for HW or SW error interrupt from card |
1501 | */ | 1501 | */ |