net: tipc: remove redundant 'bool' from CONFIG_TIPC_{MEDIA_UDP,CRYPTO}
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 4 Feb 2024 13:12:26 +0000 (22:12 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Feb 2024 13:18:43 +0000 (13:18 +0000)
The 'bool' is already specified for these options.

The second 'bool' under the help message is redundant.

While I am here, I moved 'default y' above, as it is common to place
the help text last.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/Kconfig

index be1c4003d67d286955c31d0aa1ffb4fc27981b02..bb0d71eb02a6936206e378e909f8ab76a845a6fc 100644 (file)
@@ -32,16 +32,17 @@ config TIPC_MEDIA_UDP
        bool "IP/UDP media type support"
        depends on TIPC
        select NET_UDP_TUNNEL
+       default y
        help
          Saying Y here will enable support for running TIPC over IP/UDP
-       bool
-       default y
+
 config TIPC_CRYPTO
        bool "TIPC encryption support"
        depends on TIPC
        select CRYPTO
        select CRYPTO_AES
        select CRYPTO_GCM
+       default y
        help
          Saying Y here will enable support for TIPC encryption.
          All TIPC messages will be encrypted/decrypted by using the currently most
@@ -49,8 +50,6 @@ config TIPC_CRYPTO
          entering the TIPC stack.
          Key setting from user-space is performed via netlink by a user program
          (e.g. the iproute2 'tipc' tool).
-       bool
-       default y
 
 config TIPC_DIAG
        tristate "TIPC: socket monitoring interface"