summaryrefslogtreecommitdiff
path: root/drivers/net/netxen/netxen_nic_main.c
diff options
context:
space:
mode:
authorAmit S. Kale <amitkale@netxen.com>2007-02-21 06:37:06 -0800
committerJeff Garzik <jeff@garzik.org>2007-02-27 04:16:04 -0500
commit9de06610669b2f7b9c2ba6f0a849b70aa91b2edb (patch)
treeaa06ef37514d8023bc5eac3b2aa33c8123b77b6f /drivers/net/netxen/netxen_nic_main.c
parentfa302484218e4043f4502de2f64a69f87101c78e (diff)
downloadlwn-9de06610669b2f7b9c2ba6f0a849b70aa91b2edb.tar.gz
lwn-9de06610669b2f7b9c2ba6f0a849b70aa91b2edb.zip
NetXen: Driver unload fixes
Signed-off-by: Amit S. Kale <amitkale@netxen.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_main.c')
-rw-r--r--drivers/net/netxen/netxen_nic_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
index 225ff55527c4..b2fc2bccc396 100644
--- a/drivers/net/netxen/netxen_nic_main.c
+++ b/drivers/net/netxen/netxen_nic_main.c
@@ -1155,8 +1155,8 @@ static void __exit netxen_exit_module(void)
/*
* Wait for some time to allow the dma to drain, if any.
*/
- destroy_workqueue(netxen_workq);
pci_unregister_driver(&netxen_driver);
+ destroy_workqueue(netxen_workq);
}
module_exit(netxen_exit_module);