1
0
Fork 0

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>
master
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
depends on NET
tristate "Plan 9 Resource Sharing Support (9P2000)"
help
If you say Y here, you will get experimental support for

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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