]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
powerpc/ima: Drop unnecessary check for CONFIG_MODULE_SIG
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 26 Feb 2026 07:20:13 +0000 (08:20 +0100)
committerMimi Zohar <zohar@linux.ibm.com>
Sun, 8 Mar 2026 12:26:08 +0000 (08:26 -0400)
commit1984dc2c2ff490701d884e568f0e7dab6ec0dbff
treeea177380d83fae8d22e5a65122364e5ef31bd156
parent658d5c72fc5d14fb52419ecf090ec332f46cf262
powerpc/ima: Drop unnecessary check for CONFIG_MODULE_SIG

When CONFIG_MODULE_SIG is disabled set_module_sig_enforced() is defined
as an empty stub, so the check is unnecessary.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Reviewed-by: Aaron Tomlin <atomlin@atomlin.com>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
arch/powerpc/kernel/ima_arch.c