summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-10-23 09:40:01 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 19:00:56 -0400
commitf3e63db2e5998bf01852c72d8fa3d8cf988fb6cd (patch)
treec2fcf54017b2a09931f414dd2058fb99ce1ccff5 /net/wireless
parenta4510bf8d96698496d7d2bb242917b4bbfa9bf28 (diff)
downloadblackbird-op-linux-f3e63db2e5998bf01852c72d8fa3d8cf988fb6cd.tar.gz
blackbird-op-linux-f3e63db2e5998bf01852c72d8fa3d8cf988fb6cd.zip
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.c2
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;
}
OpenPOWER on IntegriCloud