]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
NET: sb1250: Fix compile warning in driver
authorRalf Baechle <ralf@linux-mips.org>
Tue, 6 Apr 2010 11:03:01 +0000 (04:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Apr 2010 11:03:01 +0000 (04:03 -0700)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sb1250-mac.c

index f7de960ca06f6e62c8570e61c03ff5a1e80097e4..332031747a23c1a1720a2a0275e18f1cb7cb00fa 100644 (file)
@@ -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);