wifi: mt76: mt7996: fix unused-but-set variable

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2025-01-13 19:22:02 +01:00
parent 7279e3f3c3
commit 49c0bd66da
-2
View File
@@ -682,7 +682,6 @@ static void mt7996_bss_info_changed(struct ieee80211_hw *hw,
{
struct mt7996_dev *dev = mt7996_hw_dev(hw);
struct mt76_vif_link *mvif;
struct mt7996_vif_link *link;
struct mt7996_phy *phy;
struct mt76_phy *mphy;
@@ -692,7 +691,6 @@ static void mt7996_bss_info_changed(struct ieee80211_hw *hw,
if (!mvif)
goto out;
link = container_of(mvif, struct mt7996_vif_link, mt76);
mphy = mt76_vif_link_phy(mvif);
if (!mphy)
goto out;