summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-01-29 11:39:11 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-01-30 04:33:38 (GMT)
commit747a11279a442b913a57bf38934879babab3b58b (patch)
treea5ee5312e6c9137ebb882e506b7ca83b155dfb5f /drivers/net/ethernet/broadcom/Kconfig
parent84092996673211f16ef3b942a191d7952e9dfea9 (diff)
downloadlinux-747a11279a442b913a57bf38934879babab3b58b.tar.xz
net: hp100: remove unnecessary #ifdefs
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/Kconfig')
0 files changed, 0 insertions, 0 deletions