certs: remove meaningless $(error ...) in certs/Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 5 Nov 2021 03:59:54 +0000 (12:59 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 11 Dec 2021 13:09:14 +0000 (22:09 +0900)
CONFIG_MODULE_SIG_HASH is defined by init/Kconfig. This $(error ...) is
never reachable. (If it is, you need to fix the bug.)

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
certs/Makefile

index 2794337..db1fd2f 100644 (file)
@@ -50,9 +50,6 @@ ifdef SIGN_KEY
 # fail and that the kernel may be used afterwards.
 #
 ###############################################################################
-ifndef CONFIG_MODULE_SIG_HASH
-$(error Could not determine digest type to use from kernel config)
-endif
 
 redirect_openssl       = 2>&1
 quiet_redirect_openssl = 2>&1