Skip to contentSkip to conversation

iavf: Remove extra cancel_delayed_work_sync() call

PATCH New Tony Nguyen 1 participant 1 message Dec 16, 2021

Subsystems (2)
lore
Share & tools
lore

Tony Nguyen

author maintainer
#0 lore raw

PATCH 1/1 iavf: Remove extra cancel_delayed_work_sync() call

Commit 898ef1cb1cb2 ("iavf: Combine init and watchdog state machines") did not remove the original call to cancel_delayed_work_sync() for the watchdog task, remove it now.

Fixes 898ef1cb1cb2 ("iavf: Combine init and watchdog state machines")
---
 drivers/net/ethernet/intel/iavf/iavf_main.c | 2 --
 1 file changed, 2 deletions(-)
drivers/net/ethernet/intel/iavf/iavf_main.c +0 -2
index dedce7e9793d..a41be069f81e 100644
@@ -4015,8 +4015,6 @@ static void iavf_remove(struct pci_dev *pdev)
 	iavf_reset_interrupt_capability(adapter);
 	iavf_free_q_vectors(adapter);
 
-	cancel_delayed_work_sync(&adapter->watchdog_task);
-
 	cancel_work_sync(&adapter->adminq_task);
 
 	iavf_free_rss(adapter);
Signature · 1 line
2.20.1