Skip to contentSkip to conversation

wireless: remove write-only 'granted' variable

PATCH New Johannes Berg 1 participant 1 message Oct 23, 2008 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 wireless: remove write-only 'granted' variable

---
 net/wireless/reg.c |    2 --
 1 file changed, 2 deletions(-)
net/wireless/reg.c +0 -2
@@ -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 iee
 
 	/* Tada! */
 	cfg80211_regdomain = rd;
-	last_request->granted = 1;
 
 	return 0;
 }