projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4510bf
)
wireless: remove write-only 'granted' variable
author
Johannes Berg
<johannes@sipsolutions.net>
Thu, 23 Oct 2008 07:40:01 +0000
(09:40 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:56 +0000
(19:00 -0400)
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c
patch
|
blob
|
history
diff --git
a/net/wireless/reg.c
b/net/wireless/reg.c
index
5dab72d
..
00c326b
100644
(file)
--- 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;
}