aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/myri10ge/myri10ge.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/myri10ge/myri10ge.c')
-rw-r--r--drivers/net/myri10ge/myri10ge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index 8524cc40ec57..1ce0207e62a9 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -4067,7 +4067,7 @@ static void myri10ge_remove(struct pci_dev *pdev)
4067 if (mgp == NULL) 4067 if (mgp == NULL)
4068 return; 4068 return;
4069 4069
4070 flush_scheduled_work(); 4070 cancel_work_sync(&mgp->watchdog_work);
4071 netdev = mgp->dev; 4071 netdev = mgp->dev;
4072 unregister_netdev(netdev); 4072 unregister_netdev(netdev);
4073 4073