misc: nsm: remove selecting the non-existing config CBOR
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Mon, 11 Dec 2023 07:42:42 +0000 (08:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Dec 2023 16:07:41 +0000 (17:07 +0100)
Commit b9873755a6c8 ("misc: Add Nitro Secure Module driver") adds Nitro
Security Module support, which selects the non-existing config CBOR.

In the development of the commit, there was initially some code for CBOR
independent of the driver, and the driver included this code with the line
'select CBOR'. This code for CBOR was later reduced to its bare minimum of
functionality and included into the driver itself. The select CBOR remained
unnoticed and was left behind without having any further purpose.

Remove selecting the non-existing config CBOR.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: Alexander Graf <graf@amazon.com>
Link: https://lore.kernel.org/r/20231211074242.22999-1-lukas.bulwahn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/Kconfig

index 8932b6cf9595d5c23ce9b8643b8bf1367cd5c194..4fb291f0bf7c89863868c1fc066de3c443ebf377 100644 (file)
@@ -566,7 +566,6 @@ config NSM
        tristate "Nitro (Enclaves) Security Module support"
        depends on VIRTIO
        select HW_RANDOM
-       select CBOR
        help
          This driver provides support for the Nitro Security Module
          in AWS EC2 Nitro based Enclaves. The driver exposes a /dev/nsm