mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 10:36:48 +07:00
mt76: mt76x02: remove useless return in mt76x02_resync_beacon_timer
Remove useless return statment in mt76x02_resync_beacon_timer routine Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
e5db0ad756
commit
c15b0f7cd0
@ -189,10 +189,8 @@ mt76x02_resync_beacon_timer(struct mt76x02_dev *dev)
|
|||||||
mt76_rmw_field(dev, MT_BEACON_TIME_CFG,
|
mt76_rmw_field(dev, MT_BEACON_TIME_CFG,
|
||||||
MT_BEACON_TIME_CFG_INTVAL, timer_val);
|
MT_BEACON_TIME_CFG_INTVAL, timer_val);
|
||||||
|
|
||||||
if (dev->tbtt_count >= 64) {
|
if (dev->tbtt_count >= 64)
|
||||||
dev->tbtt_count = 0;
|
dev->tbtt_count = 0;
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(mt76x02_resync_beacon_timer);
|
EXPORT_SYMBOL_GPL(mt76x02_resync_beacon_timer);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user