aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-12-12 10:45:14 -0500
committerTejun Heo <tj@kernel.org>2010-12-12 10:45:14 -0500
commit6e07ebd84eef00be9e169a6d15a0bc20b06578fa (patch)
tree71eaaea0df69b18701e440bb1109d0d361989218 /drivers/net/skge.c
parentad1184c6cf067a13e8cb2a4e7ccc407f947027d0 (diff)
drivers/net: remove unnecessary flush_scheduled_work() calls
janz-ican3, sh_eth, skge and vxge don't use workqueue at all and there is no reason to flush the system_wq. Drop flush_scheduled_work() calls and references to workqueue. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Wolfgang Grandegger <wg@grandegger.com> Cc: Stephen Hemminger <shemminger@linux-foundation.org> Cc: Ramkrishna Vepa <ramkrishna.vepa@exar.com> Cc: Sivakumar Subramani <sivakumar.subramani@exar.com> Cc: Sreenivasa Honnur <sreenivasa.honnur@exar.com> Cc: Jon Mason <jon.mason@exar.com> Cc: netdev@vger.kernel.org
Diffstat (limited to 'drivers/net/skge.c')
-rw-r--r--drivers/net/skge.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c
index 220e0398f1d5..8c1404b58382 100644
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
@@ -4012,8 +4012,6 @@ static void __devexit skge_remove(struct pci_dev *pdev)
4012 if (!hw) 4012 if (!hw)
4013 return; 4013 return;
4014 4014
4015 flush_scheduled_work();
4016
4017 dev1 = hw->dev[1]; 4015 dev1 = hw->dev[1];
4018 if (dev1) 4016 if (dev1)
4019 unregister_netdev(dev1); 4017 unregister_netdev(dev1);