• David S. Miller's avatar
    net: Fix unused variable warnings in pasemi_mac.c and spider_net.c · 59c5ea6e
    David S. Miller authored
    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>
    59c5ea6e
pasemi_mac.c 47.5 KB