aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sb1250-mac.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2010-04-06 07:03:01 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-06 07:03:01 -0400
commit4cf46eaa5e46779d4e0a97f3f5c419cce1446bbe (patch)
tree7f87de2b6dba1b49adbf4af239db2205fdd9e35f /drivers/net/sb1250-mac.c
parent7ae554e5557bc8ee6ced437e5acffba922463a63 (diff)
NET: sb1250: Fix compile warning in driver
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sb1250-mac.c')
-rw-r--r--drivers/net/sb1250-mac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/sb1250-mac.c b/drivers/net/sb1250-mac.c
index f7de960ca06f..332031747a23 100644
--- a/drivers/net/sb1250-mac.c
+++ b/drivers/net/sb1250-mac.c
@@ -2664,7 +2664,6 @@ static int sbmac_close(struct net_device *dev)
2664static int sbmac_poll(struct napi_struct *napi, int budget) 2664static int sbmac_poll(struct napi_struct *napi, int budget)
2665{ 2665{
2666 struct sbmac_softc *sc = container_of(napi, struct sbmac_softc, napi); 2666 struct sbmac_softc *sc = container_of(napi, struct sbmac_softc, napi);
2667 struct net_device *dev = sc->sbm_dev;
2668 int work_done; 2667 int work_done;
2669 2668
2670 work_done = sbdma_rx_process(sc, &(sc->sbm_rxdma), budget, 1); 2669 work_done = sbdma_rx_process(sc, &(sc->sbm_rxdma), budget, 1);