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

wireless: remove write-only 'granted' variable

Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 a4510bf8
......@@ -45,7 +45,6 @@
/* wiphy is set if this request's initiator is REGDOM_SET_BY_DRIVER */
struct regulatory_request {
struct wiphy *wiphy;
int granted;
enum reg_set_by initiator;
char alpha2[2];
};
......@@ -744,7 +743,6 @@ static int __set_regdom(const struct ieee80211_regdomain *rd)
/* Tada! */
cfg80211_regdomain = rd;
last_request->granted = 1;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册