mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
treewide: Switch/rename to timer_delete[_sync]()
timer_delete[_sync]() replaces del_timer[_sync](). Convert the whole tree over and remove the historical wrapper inlines. Conversion was done with coccinelle plus manual fixups where necessary. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
f3dd816120
commit
e9d08e12bd
+3
-3
@@ -371,7 +371,7 @@ void mt7921_roc_abort_sync(struct mt792x_dev *dev)
|
||||
{
|
||||
struct mt792x_phy *phy = &dev->phy;
|
||||
|
||||
del_timer_sync(&phy->roc_timer);
|
||||
timer_delete_sync(&phy->roc_timer);
|
||||
cancel_work_sync(&phy->roc_work);
|
||||
if (test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state))
|
||||
ieee80211_iterate_interfaces(mt76_hw(dev),
|
||||
@@ -402,7 +402,7 @@ static int mt7921_abort_roc(struct mt792x_phy *phy, struct mt792x_vif *vif)
|
||||
{
|
||||
int err = 0;
|
||||
|
||||
del_timer_sync(&phy->roc_timer);
|
||||
timer_delete_sync(&phy->roc_timer);
|
||||
cancel_work_sync(&phy->roc_work);
|
||||
|
||||
mt792x_mutex_acquire(phy->dev);
|
||||
@@ -1494,7 +1494,7 @@ static void mt7921_abort_channel_switch(struct ieee80211_hw *hw,
|
||||
{
|
||||
struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv;
|
||||
|
||||
del_timer_sync(&mvif->csa_timer);
|
||||
timer_delete_sync(&mvif->csa_timer);
|
||||
cancel_work_sync(&mvif->csa_work);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user