mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-16 09:56:46 +00:00
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>
This commit is contained in:
parent
4aa41f12aa
commit
e170402e54
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user