diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-23 09:40:01 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:56 -0400 |
commit | f3e63db2e5998bf01852c72d8fa3d8cf988fb6cd (patch) | |
tree | c2fcf54017b2a09931f414dd2058fb99ce1ccff5 /net/wireless | |
parent | a4510bf8d96698496d7d2bb242917b4bbfa9bf28 (diff) |
wireless: remove write-only 'granted' variable
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/reg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 5dab72db54b9..00c326b66c03 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -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; } |