Commit 0bfd6075 authored by David S. Miller's avatar David S. Miller

sunbmac: Remove unused local variable.

Commit eb716c54 ("sunbmac: remove
unnecessary setting of skb->dev") caused the local varible 'dev'
in bigmac_init_rings to become unused.  And now the compiler
warns about it.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 10f3f51d
...@@ -212,7 +212,6 @@ static void bigmac_clean_rings(struct bigmac *bp) ...@@ -212,7 +212,6 @@ static void bigmac_clean_rings(struct bigmac *bp)
static void bigmac_init_rings(struct bigmac *bp, int from_irq) static void bigmac_init_rings(struct bigmac *bp, int from_irq)
{ {
struct bmac_init_block *bb = bp->bmac_block; struct bmac_init_block *bb = bp->bmac_block;
struct net_device *dev = bp->dev;
int i; int i;
gfp_t gfp_flags = GFP_KERNEL; gfp_t gfp_flags = GFP_KERNEL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment