Skip to content

Commit

Permalink
iwlwifi: RS small compile warnings without CONFIG_IWLWIFI_DEBUG
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Denis V. Lunev authored and John W. Linville committed Aug 4, 2008
1 parent 4aa41f1 commit e170402
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/iwlwifi/iwl-agn-rs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2393,13 +2393,15 @@ 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");

/* 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)
Expand Down

0 comments on commit e170402

Please sign in to comment.