Commit 7e879b55 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

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: default avatarJohannes Berg <johannes@sipsolutions.net>
Cc: Vladimir Koutny <vlado@work.ksp.sk>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent dc6676b7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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));