diff options
author | Johannes Berg <johannes.berg@intel.com> | 2024-01-31 16:49:04 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-02-08 12:50:12 +0100 |
commit | efa2cce6e272b36c7f9687385ef4fd538cc3bf51 (patch) | |
tree | 98f87a6ce315ffc27bc6f0069bf4446affbd715e /net/mac80211/rx.c | |
parent | 2fd53eb04c492eb9a2b06f994b36e5cf34ba7541 (diff) |
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: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 615795c4b052..76798e8057f7 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -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, |