summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2010-04-06 04:03:01 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-06 04:03:01 -0700
commit4cf46eaa5e46779d4e0a97f3f5c419cce1446bbe (patch)
tree7f87de2b6dba1b49adbf4af239db2205fdd9e35f /drivers/net
parent7ae554e5557bc8ee6ced437e5acffba922463a63 (diff)
downloadlinux-4cf46eaa5e46779d4e0a97f3f5c419cce1446bbe.tar.bz2
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')
-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)
static int sbmac_poll(struct napi_struct *napi, int budget)
{
struct sbmac_softc *sc = container_of(napi, struct sbmac_softc, napi);
- struct net_device *dev = sc->sbm_dev;
int work_done;
work_done = sbdma_rx_process(sc, &(sc->sbm_rxdma), budget, 1);