certs: remove meaningless $(error ...) in certs/Makefile

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>
This commit is contained in:
Masahiro Yamada 2021-11-05 12:59:54 +09:00
parent b06d9d3b6a
commit 54e2c77dd4

View File

@ -50,9 +50,6 @@ ifdef SIGN_KEY
# fail and that the kernel may be used afterwards. # 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 redirect_openssl = 2>&1
quiet_redirect_openssl = 2>&1 quiet_redirect_openssl = 2>&1