net: remove redundant 'depends on NET'
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 25 Jan 2021 23:20:26 +0000 (08:20 +0900)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Jan 2021 01:04:12 +0000 (17:04 -0800)
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>
12 files changed:
net/9p/Kconfig
net/batman-adv/Kconfig
net/bluetooth/Kconfig
net/bpfilter/Kconfig
net/can/Kconfig
net/dns_resolver/Kconfig
net/ife/Kconfig
net/llc/Kconfig
net/netfilter/Kconfig
net/netfilter/ipvs/Kconfig
net/nfc/Kconfig
net/psample/Kconfig

index 3d11fec..64468c4 100644 (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
index 993afd5..43ae3dc 100644 (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
index 64e669a..400c513 100644 (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
index 8ad0233..3d4a214 100644 (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
index 7c9958d..a9ac5ff 100644 (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
index 255df9b..155b061 100644 (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
index bcf6505..de36a5b 100644 (file)
@@ -4,7 +4,6 @@
 #
 
 menuconfig NET_IFE
-       depends on NET
        tristate "Inter-FE based on IETF ForCES InterFE LFB"
        default n
        help
index b0e646a..7f79f5e 100644 (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"
index 49fbef0..1a92063 100644 (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"
index eb0e329..c39a1e3 100644 (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
index 96b9167..466a027 100644 (file)
@@ -4,7 +4,6 @@
 #
 
 menuconfig NFC
-       depends on NET
        depends on RFKILL || !RFKILL
        tristate "NFC subsystem support"
        default n
index 028f514..be0b839 100644 (file)
@@ -4,7 +4,6 @@
 #
 
 menuconfig PSAMPLE
-       depends on NET
        tristate "Packet-sampling netlink channel"
        default n
        help