linux/drivers/net/ethernet/dec/tulip
Andrew Lunn 7812e10511 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 <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20201031005445.1060112-1-andrew@lunn.ch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-02 15:50:04 -08:00
..
21142.c
de4x5.c drivers/net/ethernet: clean up unused assignments 2020-09-25 16:29:00 -07:00
de4x5.h
de2104x.c net: dec: tulip: de2104x: Add shutdown handler to stop NIC 2020-10-30 17:14:38 -07:00
dmfe.c tulip: dmfe: switch from 'pci_' to 'dma_' API 2020-09-13 14:42:21 -07:00
eeprom.c
interrupt.c tulip: switch from 'pci_' to 'dma_' API 2020-09-13 14:42:21 -07:00
Kconfig
Makefile
media.c drivers/net/ethernet: clean up unused assignments 2020-09-25 16:29:00 -07:00
pnic2.c
pnic.c
timer.c
tulip_core.c drivers: net: tulip: Fix set but not used with W=1 2020-11-02 15:50:04 -08:00
tulip.h
uli526x.c tulip: uli526x: switch from 'pci_' to 'dma_' API 2020-09-13 14:42:21 -07:00
winbond-840.c tulip: windbond-840: Fix a debug message 2020-09-13 14:19:09 -07:00
xircom_cb.c