Commit 864e898b authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Jakub Kicinski

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20210125232026.106855-1-masahiroy@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent d32f834c
...@@ -4,7 +4,6 @@ ...@@ -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
......
...@@ -9,7 +9,6 @@ ...@@ -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
......
...@@ -5,7 +5,7 @@ ...@@ -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
......
# 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
......
...@@ -4,7 +4,6 @@ ...@@ -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
......
...@@ -4,7 +4,7 @@ ...@@ -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
......
...@@ -4,7 +4,6 @@ ...@@ -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
......
# 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"
......
# 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"
......
...@@ -4,7 +4,7 @@ ...@@ -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
......
...@@ -4,7 +4,6 @@ ...@@ -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
......
...@@ -4,7 +4,6 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment