Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3e63db2 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

wireless: remove write-only 'granted' variable

parent a4510bf8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
}