Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] wireless: remove write-only 'granted' variable
@ 2008-10-23  7:40 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2008-10-23  7:40 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless


Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
 net/wireless/reg.c |    2 --
 1 file changed, 2 deletions(-)

--- everything.orig/net/wireless/reg.c	2008-10-23 09:38:51.000000000 +0200
+++ everything/net/wireless/reg.c	2008-10-23 09:38:52.000000000 +0200
@@ -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;
 }



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-23  7:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-23  7:40 [PATCH] wireless: remove write-only 'granted' variable Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox