diff options
author | Mithlesh Thukral <mithlesh@netxen.com> | 2007-06-01 07:13:08 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-06-03 11:45:47 -0400 |
commit | 225c3837bb47d33357dcdad9f88321d75a3eb7fd (patch) | |
tree | 565b7405557e91807872ef244b3971c8f49fbfdd /drivers | |
parent | df31233ab95980d037d0304aaf44f9939fbaede5 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 2 |
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 2c5c6d20e6e9..c61181f23bd5 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) | |||
654 | if (adapter->portnum == 0) | 654 | if (adapter->portnum == 0) |
655 | netxen_free_adapter_offload(adapter); | 655 | netxen_free_adapter_offload(adapter); |
656 | 656 | ||
657 | if (adapter->irq) | ||
658 | free_irq(adapter->irq, adapter); | ||
659 | if(adapter->portnum == 0) { | 657 | if(adapter->portnum == 0) { |
660 | /* leave the hw in the same state as reboot */ | 658 | /* leave the hw in the same state as reboot */ |
661 | writel(0, NETXEN_CRB_NORMALIZE(adapter, CRB_CMDPEG_STATE)); | 659 | writel(0, NETXEN_CRB_NORMALIZE(adapter, CRB_CMDPEG_STATE)); |