Skip to content

Commit

Permalink
net: remove redundant 'depends on NET'
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
masahir0y authored and kuba-moo committed Jan 28, 2021
1 parent d32f834 commit 864e898
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 12 deletions.
1 change: 0 additions & 1 deletion net/9p/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion net/batman-adv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion net/bluetooth/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion net/bpfilter/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion net/can/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion net/dns_resolver/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion net/ife/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#

menuconfig NET_IFE
depends on NET
tristate "Inter-FE based on IETF ForCES InterFE LFB"
default n
help
Expand Down
1 change: 0 additions & 1 deletion net/llc/Kconfig
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion net/netfilter/Kconfig
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion net/netfilter/ipvs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion net/nfc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#

menuconfig NFC
depends on NET
depends on RFKILL || !RFKILL
tristate "NFC subsystem support"
default n
Expand Down
1 change: 0 additions & 1 deletion net/psample/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#

menuconfig PSAMPLE
depends on NET
tristate "Packet-sampling netlink channel"
default n
help
Expand Down

0 comments on commit 864e898

Please sign in to comment.