Kconfig: Simplify the conditional default statement

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2023-07-16 01:04:21 +08:00
committed by Alan Carvalho de Assis
parent e031a73aef
commit abfe082a6f
55 changed files with 118 additions and 187 deletions
+1 -2
View File
@@ -30,8 +30,7 @@ config NET_BROADCAST
config NET_UDP_CHECKSUMS
bool "UDP checksums"
default y if NET_IPv6
default n if !NET_IPv6
default NET_IPv6
---help---
Enable/disable UDP checksum support. UDP checksum support is
REQUIRED for IPv6.