summaryrefslogtreecommitdiffstats
path: root/drivers/net/sb1250-mac.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2010-04-06 13:03:01 +0200
committerDavid S. Miller <davem@davemloft.net>2010-04-06 13:03:01 +0200
commit4cf46eaa5e46779d4e0a97f3f5c419cce1446bbe (patch)
tree7f87de2b6dba1b49adbf4af239db2205fdd9e35f /drivers/net/sb1250-mac.c
parenttg3: Update version to 3.109 (diff)
downloadlinux-4cf46eaa5e46779d4e0a97f3f5c419cce1446bbe.tar.xz
linux-4cf46eaa5e46779d4e0a97f3f5c419cce1446bbe.zip
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 '')
-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);