提交 7e879b55 编写于 作者: J Johannes Berg 提交者: John W. Linville

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: NJohannes Berg <johannes@sipsolutions.net>
Cc: Vladimir Koutny <vlado@work.ksp.sk>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 dc6676b7
...@@ -244,7 +244,6 @@ static void ieee80211_sta_def_wmm_params(struct net_device *dev, ...@@ -244,7 +244,6 @@ static void ieee80211_sta_def_wmm_params(struct net_device *dev,
if (local->ops->conf_tx) { if (local->ops->conf_tx) {
struct ieee80211_tx_queue_params qparam; struct ieee80211_tx_queue_params qparam;
int i;
memset(&qparam, 0, sizeof(qparam)); memset(&qparam, 0, sizeof(qparam));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册