diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-01-29 09:23:46 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-02-04 15:58:14 -0500 |
commit | 953467d32150e2ae15aa3d5396ada175d265a412 (patch) | |
tree | e38ffa7b99e16f70c45c025128799b52ab0df629 /net/mac80211/status.c | |
parent | e3961af1e928a1195204a3e87cf179315c5c4990 (diff) |
mac80211: remove set but unused variables
Compiling with W=1 found a few variables that are set
but not used (-Wunused-but-set-variable), remove them.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/status.c')
-rw-r--r-- | net/mac80211/status.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c index 1ee85c402439..e6e574a307c8 100644 --- a/net/mac80211/status.c +++ b/net/mac80211/status.c | |||
@@ -479,7 +479,7 @@ static void ieee80211_tx_latency_end_msrmnt(struct ieee80211_local *local, | |||
479 | u32 msrmnt; | 479 | u32 msrmnt; |
480 | u16 tid; | 480 | u16 tid; |
481 | u8 *qc; | 481 | u8 *qc; |
482 | int i, bin_range_count, bin_count; | 482 | int i, bin_range_count; |
483 | u32 *bin_ranges; | 483 | u32 *bin_ranges; |
484 | __le16 fc; | 484 | __le16 fc; |
485 | struct ieee80211_tx_latency_stat *tx_lat; | 485 | struct ieee80211_tx_latency_stat *tx_lat; |
@@ -522,7 +522,6 @@ static void ieee80211_tx_latency_end_msrmnt(struct ieee80211_local *local, | |||
522 | /* count how many Tx frames transmitted with the appropriate latency */ | 522 | /* count how many Tx frames transmitted with the appropriate latency */ |
523 | bin_range_count = tx_latency->n_ranges; | 523 | bin_range_count = tx_latency->n_ranges; |
524 | bin_ranges = tx_latency->ranges; | 524 | bin_ranges = tx_latency->ranges; |
525 | bin_count = tx_lat->bin_count; | ||
526 | 525 | ||
527 | for (i = 0; i < bin_range_count; i++) { | 526 | for (i = 0; i < bin_range_count; i++) { |
528 | if (msrmnt <= bin_ranges[i]) { | 527 | if (msrmnt <= bin_ranges[i]) { |