mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 12:59:33 -04: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 <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
committed by
Felix Fietkau
parent
ae130bb8d4
commit
ffce39bfb6
@@ -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