diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-10-08 16:19:10 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:55:28 -0700 |
commit | 33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485 (patch) | |
tree | 53aebea0ac2c0fb2715a8c1bc375cf3fa86ac210 /drivers/net/chelsio/subr.c | |
parent | 3bf76b81608479a10077bd6b55972d40db782067 (diff) | |
download | blackbird-op-linux-33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485.tar.gz blackbird-op-linux-33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485.zip |
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 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) 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); |