Commit efa2cce6 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211: remove extra shadowing variable



Not sure how this happened or how nothing complained, but
this variable already exists in the outer function scope
with the same value (and the SKB isn't changed either.)
Remove the extra one.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 2fd53eb0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -5214,7 +5214,6 @@ static void __ieee80211_rx_handle_packet(struct ieee80211_hw *hw,
			 */

			if (!status->link_valid && pubsta->mlo) {
				struct ieee80211_hdr *hdr = (void *)skb->data;
				struct link_sta_info *link_sta;

				link_sta = link_sta_info_get_bss(rx.sdata,