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
Kconfig docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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 tulip: eeprom: use struct_size() in kmalloc() 2019-02-01 15:12:29 -08:00
interrupt.c tulip: switch from 'pci_' to 'dma_' API 2020-09-13 14:42:21 -07:00
media.c drivers/net/ethernet: clean up unused assignments 2020-09-25 16:29:00 -07:00
pnic.c net: tulip: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
pnic2.c net: tulip: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
timer.c net: tulip: Convert timers to use timer_setup() 2017-10-18 12:39:38 +01:00
tulip.h net: tulip: Replace zero-length array with flexible-array member 2020-03-05 14:55:48 -08:00
tulip_core.c drivers: net: tulip: Fix set but not used with W=1 2020-11-02 15:50:04 -08:00
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 Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00