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>
This commit is contained in:
Masahiro Yamada 2021-01-26 08:20:26 +09:00 committed by Jakub Kicinski
parent d32f834cd6
commit 864e898ba3
12 changed files with 5 additions and 12 deletions

View File

@ -4,7 +4,6 @@
# #
menuconfig NET_9P menuconfig NET_9P
depends on NET
tristate "Plan 9 Resource Sharing Support (9P2000)" tristate "Plan 9 Resource Sharing Support (9P2000)"
help help
If you say Y here, you will get experimental support for If you say Y here, you will get experimental support for

View File

@ -9,7 +9,6 @@
config BATMAN_ADV config BATMAN_ADV
tristate "B.A.T.M.A.N. Advanced Meshing Protocol" tristate "B.A.T.M.A.N. Advanced Meshing Protocol"
depends on NET
select LIBCRC32C select LIBCRC32C
help help
B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is

View File

@ -5,7 +5,7 @@
menuconfig BT menuconfig BT
tristate "Bluetooth subsystem support" tristate "Bluetooth subsystem support"
depends on NET && !S390 depends on !S390
depends on RFKILL || !RFKILL depends on RFKILL || !RFKILL
select CRC16 select CRC16
select CRYPTO select CRYPTO

View File

@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
menuconfig BPFILTER menuconfig BPFILTER
bool "BPF based packet filtering framework (BPFILTER)" bool "BPF based packet filtering framework (BPFILTER)"
depends on NET && BPF && INET depends on BPF && INET
select USERMODE_DRIVER select USERMODE_DRIVER
help help
This builds experimental bpfilter framework that is aiming to This builds experimental bpfilter framework that is aiming to

View File

@ -4,7 +4,6 @@
# #
menuconfig CAN menuconfig CAN
depends on NET
tristate "CAN bus subsystem support" tristate "CAN bus subsystem support"
help help
Controller Area Network (CAN) is a slow (up to 1Mbit/s) serial Controller Area Network (CAN) is a slow (up to 1Mbit/s) serial

View File

@ -4,7 +4,7 @@
# #
config DNS_RESOLVER config DNS_RESOLVER
tristate "DNS Resolver support" tristate "DNS Resolver support"
depends on NET && KEYS depends on KEYS
help help
Saying Y here will include support for the DNS Resolver key type Saying Y here will include support for the DNS Resolver key type
which can be used to make upcalls to perform DNS lookups in which can be used to make upcalls to perform DNS lookups in

View File

@ -4,7 +4,6 @@
# #
menuconfig NET_IFE menuconfig NET_IFE
depends on NET
tristate "Inter-FE based on IETF ForCES InterFE LFB" tristate "Inter-FE based on IETF ForCES InterFE LFB"
default n default n
help help

View File

@ -1,7 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config LLC config LLC
tristate tristate
depends on NET
config LLC2 config LLC2
tristate "ANSI/IEEE 802.2 LLC type 2 Support" tristate "ANSI/IEEE 802.2 LLC type 2 Support"

View File

@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
menu "Core Netfilter Configuration" menu "Core Netfilter Configuration"
depends on NET && INET && NETFILTER depends on INET && NETFILTER
config NETFILTER_INGRESS config NETFILTER_INGRESS
bool "Netfilter ingress support" bool "Netfilter ingress support"

View File

@ -4,7 +4,7 @@
# #
menuconfig IP_VS menuconfig IP_VS
tristate "IP virtual server support" tristate "IP virtual server support"
depends on NET && INET && NETFILTER depends on INET && NETFILTER
depends on (NF_CONNTRACK || NF_CONNTRACK=n) depends on (NF_CONNTRACK || NF_CONNTRACK=n)
help help
IP Virtual Server support will let you build a high-performance IP Virtual Server support will let you build a high-performance

View File

@ -4,7 +4,6 @@
# #
menuconfig NFC menuconfig NFC
depends on NET
depends on RFKILL || !RFKILL depends on RFKILL || !RFKILL
tristate "NFC subsystem support" tristate "NFC subsystem support"
default n default n

View File

@ -4,7 +4,6 @@
# #
menuconfig PSAMPLE menuconfig PSAMPLE
depends on NET
tristate "Packet-sampling netlink channel" tristate "Packet-sampling netlink channel"
default n default n
help help