projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10f3f51
)
sunbmac: Remove unused local variable.
author
David S. Miller
<
[email protected]
>
Fri, 21 Sep 2012 19:23:12 +0000
(15:23 -0400)
committer
David S. Miller
<
[email protected]
>
Fri, 21 Sep 2012 19:23:12 +0000
(15:23 -0400)
Commit
eb716c54b1c71ad28ab20461bff831bd481066c4
("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: David S. Miller <
[email protected]
>
drivers/net/ethernet/sun/sunbmac.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sun/sunbmac.c
b/drivers/net/ethernet/sun/sunbmac.c
index 967fe8cb476e56eda49013963a347f262712536d..c9c977bf02ace45e1e4be1b863d682995d39185f 100644
(file)
--- a/
drivers/net/ethernet/sun/sunbmac.c
+++ b/
drivers/net/ethernet/sun/sunbmac.c
@@
-212,7
+212,6
@@
static void bigmac_clean_rings(struct bigmac *bp)
static void bigmac_init_rings(struct bigmac *bp, int from_irq)
{
struct bmac_init_block *bb = bp->bmac_block;
- struct net_device *dev = bp->dev;
int i;
gfp_t gfp_flags = GFP_KERNEL;