Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Mithlesh Thukral and committed by
Jeff Garzik
225c3837 df31233a

-2
-2
drivers/net/netxen/netxen_nic_main.c
··· 654 654 if (adapter->portnum == 0) 655 655 netxen_free_adapter_offload(adapter); 656 656 657 - if (adapter->irq) 658 - free_irq(adapter->irq, adapter); 659 657 if(adapter->portnum == 0) { 660 658 /* leave the hw in the same state as reboot */ 661 659 writel(0, NETXEN_CRB_NORMALIZE(adapter, CRB_CMDPEG_STATE));