summaryrefslogtreecommitdiff
path: root/net/dccp
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-02-11 15:48:08 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-20 14:47:45 +0300
commitcd14b01846612f3f3277e97bfbecba4c8cee5ce9 (patch)
treedda57ead5ef2dd79b2fc0f8a6663fe4b8b722780 /net/dccp
parent91b69454f93d1c905f3a56bb39856db9a220c791 (diff)
downloadlinux-cd14b01846612f3f3277e97bfbecba4c8cee5ce9.tar.xz
treewide: replace or remove redundant def_bool in Kconfig files
'def_bool X' is a shorthand for 'bool' plus 'default X'. 'def_bool' is redundant where 'bool' is already present, so 'def_bool X' can be replaced with 'default X', or removed if X is 'n'. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/ccids/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ccids/Kconfig b/net/dccp/ccids/Kconfig
index a3eeb84d16f9..e3d388c33d25 100644
--- a/net/dccp/ccids/Kconfig
+++ b/net/dccp/ccids/Kconfig
@@ -13,7 +13,7 @@ config IP_DCCP_CCID2_DEBUG
config IP_DCCP_CCID3
bool "CCID-3 (TCP-Friendly)"
- def_bool y if (IP_DCCP = y || IP_DCCP = m)
+ default IP_DCCP = y || IP_DCCP = m
help
CCID-3 denotes TCP-Friendly Rate Control (TFRC), an equation-based
rate-controlled congestion control mechanism. TFRC is designed to