Skip to content
Snippets Groups Projects
Commit e170402e authored by Denis V. Lunev's avatar Denis V. Lunev Committed by John W. Linville
Browse files

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: default avatarDenis V. Lunev <den@openvz.org>
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4aa41f12
No related branches found
No related tags found
No related merge requests found
...@@ -2393,6 +2393,7 @@ static void rs_free(void *priv_rate) ...@@ -2393,6 +2393,7 @@ static void rs_free(void *priv_rate)
static void rs_clear(void *priv_rate) static void rs_clear(void *priv_rate)
{ {
#ifdef CONFIG_IWLWIFI_DEBUG
struct iwl_priv *priv = (struct iwl_priv *) priv_rate; struct iwl_priv *priv = (struct iwl_priv *) priv_rate;
IWL_DEBUG_RATE("enter\n"); IWL_DEBUG_RATE("enter\n");
...@@ -2400,6 +2401,7 @@ static void rs_clear(void *priv_rate) ...@@ -2400,6 +2401,7 @@ static void rs_clear(void *priv_rate)
/* TODO - add rate scale state reset */ /* TODO - add rate scale state reset */
IWL_DEBUG_RATE("leave\n"); IWL_DEBUG_RATE("leave\n");
#endif /* CONFIG_IWLWIFI_DEBUG */
} }
static void rs_free_sta(void *priv_rate, void *priv_sta) static void rs_free_sta(void *priv_rate, void *priv_sta)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment