Skip to content
Commit 59c5ea6e authored by David S. Miller's avatar David S. Miller
Browse files

net: Fix unused variable warnings in pasemi_mac.c and spider_net.c

As reported by Stephen Rothwell:

--------------------
Today's linux-next build (powerpc ppc64_defconfig) produced these new
warnings:

drivers/net/pasemi_mac.c: In function 'pasemi_mac_rx_intr':
drivers/net/pasemi_mac.c:957: warning: unused variable 'dev'
drivers/net/pasemi_mac.c: In function 'pasemi_mac_poll':
drivers/net/pasemi_mac.c:1637: warning: unused variable 'dev'
drivers/net/spider_net.c: In function 'spider_net_poll':
drivers/net/spider_net.c:1280: warning: unused variable 'netdev'

Probably caused by commit 908a7a16

 ("net:
Remove unused netdev arg from some NAPI interfaces").
--------------------

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3c92ec8a
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