diff options
author | Denis V. Lunev <den@openvz.org> | 2008-07-19 03:04:18 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-04 21:09:09 +0200 |
commit | e170402e5459c12ed8f5bfaa11e6550eba09e57a (patch) | |
tree | 30f741e0a022f10345b413ab22e3be1805577d30 | |
parent | iwlwifi: bug fix in AGG flow - cast const to ULL (diff) | |
download | linux-e170402e5459c12ed8f5bfaa11e6550eba09e57a.tar.xz linux-e170402e5459c12ed8f5bfaa11e6550eba09e57a.zip |
iwlwifi: RS small compile warnings without CONFIG_IWLWIFI_DEBUG
iwl-agn-rs.c: In function 'rs_clear':
iwl-agn-rs.c:2405: warning: unused variable 'priv
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c index 0e8100e70620..b498b58d81fa 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c @@ -2393,6 +2393,7 @@ static void rs_free(void *priv_rate) static void rs_clear(void *priv_rate) { +#ifdef CONFIG_IWLWIFI_DEBUG struct iwl_priv *priv = (struct iwl_priv *) priv_rate; IWL_DEBUG_RATE("enter\n"); @@ -2400,6 +2401,7 @@ static void rs_clear(void *priv_rate) /* TODO - add rate scale state reset */ IWL_DEBUG_RATE("leave\n"); +#endif /* CONFIG_IWLWIFI_DEBUG */ } static void rs_free_sta(void *priv_rate, void *priv_sta) |