aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_sta.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-03-31 13:23:04 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-04-01 17:14:10 -0400
commit7e879b551f1ada78d66fa5c6914aa1744b9c97d2 (patch)
treeb4087dbcfe714a61bf14c13ec259b90267251421 /net/mac80211/ieee80211_sta.c
parentdc6676b7f2c2072ec05254aaca32e99f87a8a417 (diff)
mac80211: fix sparse complaint in ieee80211_sta_def_wmm_params
A variable 'i' is being shadowed by another one, but the second one can just be removed. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Vladimir Koutny <vlado@work.ksp.sk> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_sta.c')
-rw-r--r--net/mac80211/ieee80211_sta.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index 75b96a754333..b836948a0b40 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -244,7 +244,6 @@ static void ieee80211_sta_def_wmm_params(struct net_device *dev,
244 244
245 if (local->ops->conf_tx) { 245 if (local->ops->conf_tx) {
246 struct ieee80211_tx_queue_params qparam; 246 struct ieee80211_tx_queue_params qparam;
247 int i;
248 247
249 memset(&qparam, 0, sizeof(qparam)); 248 memset(&qparam, 0, sizeof(qparam));
250 249