android_kernel_oneplus_msm8998/drivers/net/ethernet/ti
Arnd Bergmann 731339363c tlan: avoid unused label with PCI=n
commit 1e09c106a44c2b2685a77a1ef27951381c9fcd23 upstream.

While build testing with randconfig on x86, I ran into this warning
that appears to have been around forever

drivers/net/ethernet/ti/tlan.c: In function ‘tlan_probe1’:
drivers/net/ethernet/ti/tlan.c:614:1: error: label ‘err_out’ defined but not used [-Werror=unused-label]

This can be trivially avoided by just moving the label into the
existing #ifdef.

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:47 +01:00
..
cpmac.c cpmac: remove hopeless #warning 2017-03-18 19:09:56 +08:00
cpsw-common.c net: cpsw: Fix ethernet regression for dm814x 2015-11-20 10:46:33 -05:00
cpsw-phy-sel.c
cpsw.c drivers: net: cpsw: fix error return code 2015-12-29 15:31:10 -05:00
cpsw.h
cpsw_ale.c
cpsw_ale.h
cpts.c
cpts.h
davinci_cpdma.c
davinci_cpdma.h
davinci_emac.c
davinci_mdio.c
Kconfig
Makefile
netcp.h
netcp_core.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2015-11-07 13:05:44 -08:00
netcp_ethss.c net: netcp: add missing of_node_put 2015-10-26 22:08:10 -07:00
netcp_sgmii.c
netcp_xgbepcsr.c
tlan.c tlan: avoid unused label with PCI=n 2018-02-25 11:03:47 +01:00
tlan.h