[PATCH] kernel/kexec: Remove inclusion of crypto/hash.h

From: Eric Biggers

Date: Sat Mar 14 2026 - 16:42:26 EST


kexec_core.c does not do any cryptographic hashing, so the header
crypto/hash.h is not needed at all.

Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
---
kernel/kexec_core.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c
index 2fea396d29b97..a43d2da0fe3e7 100644
--- a/kernel/kexec_core.c
+++ b/kernel/kexec_core.c
@@ -45,11 +45,10 @@
#include <linux/sysfs.h>

#include <asm/page.h>
#include <asm/sections.h>

-#include <crypto/hash.h>
#include "kexec_internal.h"

atomic_t __kexec_lock = ATOMIC_INIT(0);

/* Flag to indicate we are going to kexec a new kernel */

base-commit: 1c9982b4961334c1edb0745a04cabd34bc2de675
--
2.53.0