aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorAndrew Lunn <[email protected]>2020-10-31 00:54:45 +0000
committerJakub Kicinski <[email protected]>2020-11-02 23:50:04 +0000
commit7812e10511ce66b0f7c41d33c66c7e0db75a1016 (patch)
tree5a8b2ca4b753b24520148c3c6c85cdeba3289fcf /drivers/net/xen-netfront.c
parentselftests: add test script for bareudp tunnels (diff)
downloadkernel-7812e10511ce66b0f7c41d33c66c7e0db75a1016.tar.gz
kernel-7812e10511ce66b0f7c41d33c66c7e0db75a1016.zip
drivers: net: tulip: Fix set but not used with W=1
When compiled for platforms other than __i386__ or __x86_64__: drivers/net/ethernet/dec/tulip/tulip_core.c: In function ‘tulip_init_one’: drivers/net/ethernet/dec/tulip/tulip_core.c:1296:13: warning: variable ‘last_irq’ set but not used [-Wunused-but-set-variable] 1296 | static int last_irq; Add more #if defined() to totally remove the code when not needed. Signed-off-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions