summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rsi
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-07-13 21:16:37 +0200
committerJohannes Berg <johannes.berg@intel.com>2022-07-15 11:43:11 +0200
commit9dd9495d560a39a3f6f43e77dc8cec3666efd7f7 (patch)
tree6d50f8f6db03f595e07255be002a57232674135e /drivers/net/wireless/rsi
parentMerge tag 'mlx5-updates-2022-07-13' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadlinux-9dd9495d560a39a3f6f43e77dc8cec3666efd7f7.tar.xz
linux-9dd9495d560a39a3f6f43e77dc8cec3666efd7f7.zip
wifi: rsi: remove unused variable
Remove a variable here that was now set but never used. Fixes: f276e20b182d ("wifi: mac80211: move interface config to new struct") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/rsi')
-rw-r--r--drivers/net/wireless/rsi/rsi_91x_hal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/rsi/rsi_91x_hal.c b/drivers/net/wireless/rsi/rsi_91x_hal.c
index 40f9a31f9ca7..c61f83a7333b 100644
--- a/drivers/net/wireless/rsi/rsi_91x_hal.c
+++ b/drivers/net/wireless/rsi/rsi_91x_hal.c
@@ -334,7 +334,6 @@ int rsi_send_mgmt_pkt(struct rsi_common *common,
struct sk_buff *skb)
{
struct rsi_hw *adapter = common->priv;
- struct ieee80211_bss_conf *bss;
struct ieee80211_hdr *wh;
struct ieee80211_tx_info *info;
struct skb_info *tx_params;
@@ -359,7 +358,6 @@ int rsi_send_mgmt_pkt(struct rsi_common *common,
return status;
}
- bss = &info->control.vif->bss_conf;
wh = (struct ieee80211_hdr *)&skb->data[header_size];
mgmt_desc = (struct rsi_mgmt_desc *)skb->data;
xtend_desc = (struct rsi_xtended_desc *)&skb->data[FRAME_DESC_SZ];