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

Commit 4bf332c7 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: remove superfluous band variable



We already have a band variable, so the new one is just
shadowing it, but the existing one already holds the
same value so just remove the inner one.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 63c361f5
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -1345,9 +1345,6 @@ static int sta_apply_parameters(struct ieee80211_local *local,
						    params->vht_capa, sta);
						    params->vht_capa, sta);


	if (params->opmode_notif_used) {
	if (params->opmode_notif_used) {
		enum ieee80211_band band =
			ieee80211_get_sdata_band(sdata);

		/* returned value is only needed for rc update, but the
		/* returned value is only needed for rc update, but the
		 * rc isn't initialized here yet, so ignore it
		 * rc isn't initialized here yet, so ignore it
		 */
		 */