mt76: mt76x02: remove useless return in mt76x02_resync_beacon_timer
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Lorenzo Bianconi
maintainerPATCH 1/1 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 <[email protected]>
--- drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c +1 -3
@@ -189,10 +189,8 @@ mt76x02_resync_beacon_timer(struct mt76x02_dev *dev)mt76_rmw_field (dev,MT_BEACON_TIME_CFG ,MT_BEACON_TIME_CFG_INTVAL , timer_val); -if (dev->tbtt_count >=64 ) { +if (dev->tbtt_count >=64 ) dev->tbtt_count =0 ; -return ; - } }EXPORT_SYMBOL_GPL (mt76x02_resync_beacon_timer);
Signature · 1 line
2.20.1
Quoted 3 lines · Lorenzo Bianconi
Remove useless return statment in
mt76x02_resync_beacon_timerroutineSigned-off-by Lorenzo Bianconi <[email protected]>
Applied, thanks.
- Felix