Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: remove redundant 'depends on NET'

These Kconfig files are included from net/Kconfig, inside the
if NET ... endif.

Remove 'depends on NET', which we know it is already met.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20210125232026.106855-1-masahiroy@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Masahiro Yamada and committed by
Jakub Kicinski
864e898b d32f834c

+5 -12
-1
net/9p/Kconfig
··· 4 4 # 5 5 6 6 menuconfig NET_9P 7 - depends on NET 8 7 tristate "Plan 9 Resource Sharing Support (9P2000)" 9 8 help 10 9 If you say Y here, you will get experimental support for
-1
net/batman-adv/Kconfig
··· 9 9 10 10 config BATMAN_ADV 11 11 tristate "B.A.T.M.A.N. Advanced Meshing Protocol" 12 - depends on NET 13 12 select LIBCRC32C 14 13 help 15 14 B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is
+1 -1
net/bluetooth/Kconfig
··· 5 5 6 6 menuconfig BT 7 7 tristate "Bluetooth subsystem support" 8 - depends on NET && !S390 8 + depends on !S390 9 9 depends on RFKILL || !RFKILL 10 10 select CRC16 11 11 select CRYPTO
+1 -1
net/bpfilter/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 menuconfig BPFILTER 3 3 bool "BPF based packet filtering framework (BPFILTER)" 4 - depends on NET && BPF && INET 4 + depends on BPF && INET 5 5 select USERMODE_DRIVER 6 6 help 7 7 This builds experimental bpfilter framework that is aiming to
-1
net/can/Kconfig
··· 4 4 # 5 5 6 6 menuconfig CAN 7 - depends on NET 8 7 tristate "CAN bus subsystem support" 9 8 help 10 9 Controller Area Network (CAN) is a slow (up to 1Mbit/s) serial
+1 -1
net/dns_resolver/Kconfig
··· 4 4 # 5 5 config DNS_RESOLVER 6 6 tristate "DNS Resolver support" 7 - depends on NET && KEYS 7 + depends on KEYS 8 8 help 9 9 Saying Y here will include support for the DNS Resolver key type 10 10 which can be used to make upcalls to perform DNS lookups in
-1
net/ife/Kconfig
··· 4 4 # 5 5 6 6 menuconfig NET_IFE 7 - depends on NET 8 7 tristate "Inter-FE based on IETF ForCES InterFE LFB" 9 8 default n 10 9 help
-1
net/llc/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config LLC 3 3 tristate 4 - depends on NET 5 4 6 5 config LLC2 7 6 tristate "ANSI/IEEE 802.2 LLC type 2 Support"
+1 -1
net/netfilter/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 menu "Core Netfilter Configuration" 3 - depends on NET && INET && NETFILTER 3 + depends on INET && NETFILTER 4 4 5 5 config NETFILTER_INGRESS 6 6 bool "Netfilter ingress support"
+1 -1
net/netfilter/ipvs/Kconfig
··· 4 4 # 5 5 menuconfig IP_VS 6 6 tristate "IP virtual server support" 7 - depends on NET && INET && NETFILTER 7 + depends on INET && NETFILTER 8 8 depends on (NF_CONNTRACK || NF_CONNTRACK=n) 9 9 help 10 10 IP Virtual Server support will let you build a high-performance
-1
net/nfc/Kconfig
··· 4 4 # 5 5 6 6 menuconfig NFC 7 - depends on NET 8 7 depends on RFKILL || !RFKILL 9 8 tristate "NFC subsystem support" 10 9 default n
-1
net/psample/Kconfig
··· 4 4 # 5 5 6 6 menuconfig PSAMPLE 7 - depends on NET 8 7 tristate "Packet-sampling netlink channel" 9 8 default n 10 9 help