summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-09-22 18:02:02 +0200
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-10-07 15:50:48 -0700
commit69fdb710b29d096bc50123f7c97891e31ffe45f9 (patch)
tree8c8575274e648498ad3a16e2a66d1fa27f71f684 /drivers/net/wireless/iwlwifi/iwl-dev.h
parenta30e3112a8bcb5bc1caa48547e597de3992e1b21 (diff)
downloadtalos-obmc-linux-69fdb710b29d096bc50123f7c97891e31ffe45f9.tar.gz
talos-obmc-linux-69fdb710b29d096bc50123f7c97891e31ffe45f9.zip
iwlwifi: move tx fail code to agn
The code to print out TX failure reasons is AGN specific, so it can be in the AGN module. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 90a37a94c698..2b04714c3a9c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1566,7 +1566,6 @@ static inline void iwl_txq_ctx_deactivate(struct iwl_priv *priv, int txq_id)
}
#ifdef CONFIG_IWLWIFI_DEBUG
-const char *iwl_get_tx_fail_reason(u32 status);
/*
* iwl_get_debug_level: Return active debug level for device
*
@@ -1582,8 +1581,6 @@ static inline u32 iwl_get_debug_level(struct iwl_priv *priv)
return iwl_debug_level;
}
#else
-static inline const char *iwl_get_tx_fail_reason(u32 status) { return ""; }
-
static inline u32 iwl_get_debug_level(struct iwl_priv *priv)
{
return iwl_debug_level;
OpenPOWER on IntegriCloud