diff options
author | Masashi Honma <masashi.honma@gmail.com> | 2018-09-30 07:30:45 +0900 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-10-02 09:56:30 +0200 |
commit | c70616bd8a56a7ecb79c70b7454ce7f1909ff7e0 (patch) | |
tree | 161e3f48904cd9efae2340a1f37f84432092f4f7 /net/mac80211/rc80211_minstrel.c | |
parent | 5297c65c1d48a439c778c56edc6beedb486e4bbd (diff) | |
download | linux-c70616bd8a56a7ecb79c70b7454ce7f1909ff7e0.tar.bz2 |
mac80211: Remove unused initialization
The variable j will be initialized at trailing step.
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel.c')
-rw-r--r-- | net/mac80211/rc80211_minstrel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_minstrel.c b/net/mac80211/rc80211_minstrel.c index 07fb219327d6..fc6134c01a76 100644 --- a/net/mac80211/rc80211_minstrel.c +++ b/net/mac80211/rc80211_minstrel.c @@ -632,7 +632,7 @@ minstrel_init_cck_rates(struct minstrel_priv *mp) if (!sband) return; - for (i = 0, j = 0; i < sband->n_bitrates; i++) { + for (i = 0; i < sband->n_bitrates; i++) { struct ieee80211_rate *rate = &sband->bitrates[i]; if (rate->flags & IEEE80211_RATE_ERP_G) |