summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-01-31 18:49:04 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-02-08 14:50:12 +0300
commitefa2cce6e272b36c7f9687385ef4fd538cc3bf51 (patch)
tree98f87a6ce315ffc27bc6f0069bf4446affbd715e /net/mac80211
parent2fd53eb04c492eb9a2b06f994b36e5cf34ba7541 (diff)
downloadlinux-efa2cce6e272b36c7f9687385ef4fd538cc3bf51.tar.xz
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')
-rw-r--r--net/mac80211/rx.c1
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,