diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-23 03:40:01 -0400 |
---|---|---|
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 @@ | |||
45 | /* wiphy is set if this request's initiator is REGDOM_SET_BY_DRIVER */ | 45 | /* wiphy is set if this request's initiator is REGDOM_SET_BY_DRIVER */ |
46 | struct regulatory_request { | 46 | struct regulatory_request { |
47 | struct wiphy *wiphy; | 47 | struct wiphy *wiphy; |
48 | int granted; | ||
49 | enum reg_set_by initiator; | 48 | enum reg_set_by initiator; |
50 | char alpha2[2]; | 49 | char alpha2[2]; |
51 | }; | 50 | }; |
@@ -744,7 +743,6 @@ static int __set_regdom(const struct ieee80211_regdomain *rd) | |||
744 | 743 | ||
745 | /* Tada! */ | 744 | /* Tada! */ |
746 | cfg80211_regdomain = rd; | 745 | cfg80211_regdomain = rd; |
747 | last_request->granted = 1; | ||
748 | 746 | ||
749 | return 0; | 747 | return 0; |
750 | } | 748 | } |