aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMithlesh Thukral <mithlesh@netxen.com>2007-06-01 04:13:08 -0700
committerJeff Garzik <jeff@garzik.org>2007-06-03 11:45:47 -0400
commit225c3837bb47d33357dcdad9f88321d75a3eb7fd (patch)
tree565b7405557e91807872ef244b3971c8f49fbfdd
parentdf31233ab95980d037d0304aaf44f9939fbaede5 (diff)
downloadkernel_samsung_tuna-225c3837bb47d33357dcdad9f88321d75a3eb7fd.zip
kernel_samsung_tuna-225c3837bb47d33357dcdad9f88321d75a3eb7fd.tar.gz
kernel_samsung_tuna-225c3837bb47d33357dcdad9f88321d75a3eb7fd.tar.bz2
NetXen: Removal of extra free_irq call
NetXen: Removal of redundant free_irq This patch removes a redundant free_irq() call from remove() routine. This will also eliminate a warning during unload of driver. Signed-by: Mithlesh Thukral <mithlesh@netxen.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/net/netxen/netxen_nic_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
index 2c5c6d2..c61181f 100644
--- a/drivers/net/netxen/netxen_nic_main.c
+++ b/drivers/net/netxen/netxen_nic_main.c
@@ -654,8 +654,6 @@ static void __devexit netxen_nic_remove(struct pci_dev *pdev)
if (adapter->portnum == 0)
netxen_free_adapter_offload(adapter);
- if (adapter->irq)
- free_irq(adapter->irq, adapter);
if(adapter->portnum == 0) {
/* leave the hw in the same state as reboot */
writel(0, NETXEN_CRB_NORMALIZE(adapter, CRB_CMDPEG_STATE));