Skip to content

Commit 864e898

Browse files
masahir0ykuba-moo
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent d32f834 commit 864e898

File tree

12 files changed

+5
-12
lines changed

12 files changed

+5
-12
lines changed

net/9p/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#
55

66
menuconfig NET_9P
7-
depends on NET
87
tristate "Plan 9 Resource Sharing Support (9P2000)"
98
help
109
If you say Y here, you will get experimental support for

net/batman-adv/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
config BATMAN_ADV
1111
tristate "B.A.T.M.A.N. Advanced Meshing Protocol"
12-
depends on NET
1312
select LIBCRC32C
1413
help
1514
B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is

net/bluetooth/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
menuconfig BT
77
tristate "Bluetooth subsystem support"
8-
depends on NET && !S390
8+
depends on !S390
99
depends on RFKILL || !RFKILL
1010
select CRC16
1111
select CRYPTO

net/bpfilter/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
menuconfig BPFILTER
33
bool "BPF based packet filtering framework (BPFILTER)"
4-
depends on NET && BPF && INET
4+
depends on BPF && INET
55
select USERMODE_DRIVER
66
help
77
This builds experimental bpfilter framework that is aiming to

net/can/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#
55

66
menuconfig CAN
7-
depends on NET
87
tristate "CAN bus subsystem support"
98
help
109
Controller Area Network (CAN) is a slow (up to 1Mbit/s) serial

net/dns_resolver/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
config DNS_RESOLVER
66
tristate "DNS Resolver support"
7-
depends on NET && KEYS
7+
depends on KEYS
88
help
99
Saying Y here will include support for the DNS Resolver key type
1010
which can be used to make upcalls to perform DNS lookups in

net/ife/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#
55

66
menuconfig NET_IFE
7-
depends on NET
87
tristate "Inter-FE based on IETF ForCES InterFE LFB"
98
default n
109
help

net/llc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config LLC
33
tristate
4-
depends on NET
54

65
config LLC2
76
tristate "ANSI/IEEE 802.2 LLC type 2 Support"

net/netfilter/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
menu "Core Netfilter Configuration"
3-
depends on NET && INET && NETFILTER
3+
depends on INET && NETFILTER
44

55
config NETFILTER_INGRESS
66
bool "Netfilter ingress support"

net/netfilter/ipvs/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
menuconfig IP_VS
66
tristate "IP virtual server support"
7-
depends on NET && INET && NETFILTER
7+
depends on INET && NETFILTER
88
depends on (NF_CONNTRACK || NF_CONNTRACK=n)
99
help
1010
IP Virtual Server support will let you build a high-performance

net/nfc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#
55

66
menuconfig NFC
7-
depends on NET
87
depends on RFKILL || !RFKILL
98
tristate "NFC subsystem support"
109
default n

net/psample/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#
55

66
menuconfig PSAMPLE
7-
depends on NET
87
tristate "Packet-sampling netlink channel"
98
default n
109
help

0 commit comments

Comments
 (0)