net: Fix unused variable warnings in pasemi_mac.c and spider_net.c
authorDavid S. Miller <davem@davemloft.net>
Mon, 29 Dec 2008 04:15:38 +0000 (20:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Dec 2008 04:15:38 +0000 (20:15 -0800)
commit59c5ea6ebdfa11626635f371b8d99ada2fcaf390
treea242c2298e53249359325ff89464221ecdd0a746
parent3c92ec8ae91ecf59d88c798301833d7cf83f2179
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 908a7a16b852ffd618a9127be8d62432182d81b4 ("net:
Remove unused netdev arg from some NAPI interfaces").
--------------------

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pasemi_mac.c
drivers/net/spider_net.c