From: Johannes Berg Date: Mon, 31 Mar 2008 17:23:04 +0000 (+0200) Subject: mac80211: fix sparse complaint in ieee80211_sta_def_wmm_params X-Git-Tag: MMI-PSA29.97-13-9~35608^2~240 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7e879b551f1ada78d66fa5c6914aa1744b9c97d2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Cc: Vladimir Koutny Signed-off-by: John W. Linville --- 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, if (local->ops->conf_tx) { struct ieee80211_tx_queue_params qparam; - int i; memset(&qparam, 0, sizeof(qparam));