diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-10-08 23:19:10 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 23:55:28 (GMT) |
commit | 33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485 (patch) | |
tree | 53aebea0ac2c0fb2715a8c1bc375cf3fa86ac210 /drivers/net/chelsio/subr.c | |
parent | 3bf76b81608479a10077bd6b55972d40db782067 (diff) | |
download | linux-33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/chelsio/subr.c b/drivers/net/chelsio/subr.c index 7de9a61..dc50151 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) if (cause & F_PL_INTR_PCIX) t1_pci_intr_handler(adapter); if (cause & F_PL_INTR_EXT) - t1_elmer0_ext_intr_handler(adapter); + t1_elmer0_ext_intr(adapter); /* Clear the interrupts just processed. */ writel(cause, adapter->regs + A_PL_CAUSE); |