]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
macb: fix warning "warning: unused variable `dev' "
authorvibi sreenivasan <vibi_sreenivasan@cms.com>
Tue, 24 Mar 2009 23:30:20 +0000 (16:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2009 23:30:20 +0000 (16:30 -0700)
Removed unused variable dev

Signed-off-by: vibi sreenivasan <vibi_sreenivasan@cms.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macb.c

index 872c1bdf42bd4d211d6f78cb3137067afc72ed58..f50501013b1c6cf49a92310da219998a5e5ad9a6 100644 (file)
@@ -513,7 +513,6 @@ static int macb_rx(struct macb *bp, int budget)
 static int macb_poll(struct napi_struct *napi, int budget)
 {
        struct macb *bp = container_of(napi, struct macb, napi);
-       struct net_device *dev = bp->dev;
        int work_done;
        u32 status;