aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/subr.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-08 19:19:10 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:55:28 -0400
commit33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485 (patch)
tree53aebea0ac2c0fb2715a8c1bc375cf3fa86ac210 /drivers/net/chelsio/subr.c
parent3bf76b81608479a10077bd6b55972d40db782067 (diff)
chelsio: sparse warning fixes (old cxgb2)
Fix problems detected by sparse: 1. whole chunk of MAC code was for defined and never used 2. hook for running ext intr in workqueue wasn't being used Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/chelsio/subr.c')
-rw-r--r--drivers/net/chelsio/subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/chelsio/subr.c b/drivers/net/chelsio/subr.c
index 7de9a611e1f7..dc50151bed81 100644
--- a/drivers/net/chelsio/subr.c
+++ b/drivers/net/chelsio/subr.c
@@ -884,7 +884,7 @@ static int asic_slow_intr(adapter_t *adapter)
884 if (cause & F_PL_INTR_PCIX) 884 if (cause & F_PL_INTR_PCIX)
885 t1_pci_intr_handler(adapter); 885 t1_pci_intr_handler(adapter);
886 if (cause & F_PL_INTR_EXT) 886 if (cause & F_PL_INTR_EXT)
887 t1_elmer0_ext_intr_handler(adapter); 887 t1_elmer0_ext_intr(adapter);
888 888
889 /* Clear the interrupts just processed. */ 889 /* Clear the interrupts just processed. */
890 writel(cause, adapter->regs + A_PL_CAUSE); 890 writel(cause, adapter->regs + A_PL_CAUSE);