mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
6f871f35e3
commit
597b68b7da
@@ -240,8 +240,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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user