Skip to content

Commit

Permalink
wireless: remove write-only 'granted' variable
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Oct 31, 2008
1 parent a4510bf commit f3e63db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};
Expand Down Expand Up @@ -744,7 +743,6 @@ static int __set_regdom(const struct ieee80211_regdomain *rd)

/* Tada! */
cfg80211_regdomain = rd;
last_request->granted = 1;

return 0;
}
Expand Down

0 comments on commit f3e63db

Please sign in to comment.