mt76: mt7615: remove useless if condition in mt7615_add_interface()
Subsystems (2)
Lorenzo Bianconi
maintainerPATCH 1/1 mt76: mt7615: remove useless if condition in mt7615_add_interface()
Get rid of unnecessary if condition in mt7615_add_interface routine
Signed-off-by Lorenzo Bianconi <[email protected]>
--- drivers/net/wireless/mediatek/mt76/mt7615/main.c | 2 -- 1 file changed, 2 deletions(-)
drivers/net/wireless/mediatek/mt76/mt7615/main.c +0 -2
@@ -241,8 +241,6 @@ static int mt7615_add_interface(struct ieee80211_hw *hw, } ret =mt7615_mcu_add_dev_info (phy, vif, true); -if (ret) - goto out; out:mt7615_mutex_release (dev);
Signature · 1 line
2.31.1