android_kernel_oneplus_msm8998/drivers/net/ethernet
Arnd Bergmann d9a4d80bb3 net: hp100: remove unnecessary #ifdefs
commit 747a11279a442b913a57bf38934879babab3b58b upstream.

Building the hp100 ethernet driver causes warnings when both the PCI
and EISA drivers are disabled:

ethernet/hp/hp100.c: In function 'hp100_module_init':
ethernet/hp/hp100.c:3047:2: warning: label 'out3' defined but not used [-Wunused-label]
ethernet/hp/hp100.c: At top level:
ethernet/hp/hp100.c:2828:13: warning: 'cleanup_dev' defined but not used [-Wunused-function]

We can easily avoid the warnings and make the driver look slightly
nicer by removing the #ifdefs that check for the CONFIG_PCI and
CONFIG_EISA, as all the registration functions are designed to
have no effect when the buses are disabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:03:50 +01:00
..
3com drivers/net: fix eisa_driver probe section mismatch 2018-02-25 11:03:44 +01:00
8390
adaptec net: adaptec: starfire: add checks for dma mapping errors 2017-06-17 06:39:37 +02:00
adi
aeroflex
agere
allwinner
alteon
altera
amd amd-xgbe: Fix unused suspend handlers build warning 2018-02-25 11:03:46 +01:00
apm
apple
arc
atheros net: alx: Work around the DMA RX overflow issue 2016-07-11 09:31:12 -07:00
aurora net: ethernet: nb8800: Handle all 4 RGMII modes identically 2017-08-11 09:08:53 -07:00
broadcom tg3: Fix rx hang on MTU change with 5717/5719 2018-01-02 20:33:25 +01:00
brocade bna: avoid writing uninitialized data into hw registers 2017-12-25 14:22:12 +01:00
cadence net: macb: fix default configuration for GMAC on AT91 2016-07-11 09:31:12 -07:00
calxeda
cavium net: cavium: liquidio: Avoid dma_unmap_single on uninitialized ndata 2017-05-02 21:19:49 -07:00
chelsio cxgb4: avoid enabling napi twice to the same queue 2017-06-14 13:16:19 +02:00
cirrus
cisco
davicom
dec drivers/net: fix eisa_driver probe section mismatch 2018-02-25 11:03:44 +01:00
dlink
emulex be2net: fix status check in be_cmd_pmac_add() 2017-07-05 14:37:20 +02:00
ezchip
faraday
freescale gianfar: fix a flooded alignment reports because of padding issue. 2018-02-25 11:03:40 +01:00
fujitsu
hisilicon net: hns: Fix the device being used for dma mapping during TX 2017-06-17 06:39:35 +02:00
hp net: hp100: remove unnecessary #ifdefs 2018-02-25 11:03:50 +01:00
i825xx
ibm net: emac: Fix napi poll list corruption 2017-10-21 17:09:02 +02:00
intel igb: Free IRQs when device is hotplugged 2018-02-03 17:04:26 +01:00
marvell mvpp2: fix multicast address filter 2018-02-22 15:45:01 +01:00
mellanox IB/mlx4: Fix incorrectly releasing steerable UD QPs when have only ETH ports 2018-02-22 15:44:58 +01:00
micrel
microchip
moxa
myricom
natsemi
neterion net: vxge: avoid unused function warnings 2017-01-12 11:22:51 +01:00
nuvoton
nvidia
nxp
octeon
oki-semi
packetengines
pasemi
qlogic qlcnic: fix deadlock bug 2018-02-16 20:09:37 +01:00
qualcomm net: qca_spi: clear IFF_TX_SKB_SHARING 2016-04-20 15:41:57 +09:00
rdc
realtek r8169: fix RTL8168EP take too long to complete driver initialization. 2018-02-16 20:09:38 +01:00
renesas sh_eth: fix SH7757 GEther initialization 2018-01-17 09:35:29 +01:00
rocker switchdev: pass pointer to fib_info instead of copy 2016-06-24 10:18:16 -07:00
samsung
seeq
sfc sfc: don't warn on successful change of MAC 2017-12-20 10:04:57 +01:00
sgi
silan
sis
smsc smc91x: avoid self-comparison warning 2016-11-10 16:36:36 +01:00
stmicro net: stmmac: enable EEE in MII, GMII or RGMII only 2018-01-17 09:35:29 +01:00
sun
synopsys
tehuti
ti tlan: avoid unused label with PCI=n 2018-02-25 11:03:47 +01:00
tile
toshiba
tundra
via
wiznet
xilinx net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit 2018-02-03 17:04:28 +01:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c net: ethoc: enable NAPI before poll may be scheduled 2017-06-14 13:16:19 +02:00
fealnx.c fealnx: Fix building error on MIPS 2017-11-24 08:32:24 +01:00
jme.c jme: Fix device PM wakeup API usage 2016-05-04 14:48:54 -07:00
jme.h
Kconfig
korina.c net: korina: Fix NAPI versus resources freeing 2017-07-05 14:37:17 +02:00
lantiq_etop.c
Makefile
netx-eth.c