public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] kernel/kexec: Remove inclusion of crypto/hash.h
@ 2026-03-14 20:41 Eric Biggers
  0 siblings, 0 replies; only message in thread
From: Eric Biggers @ 2026-03-14 20:41 UTC (permalink / raw)
  To: Andrew Morton, Baoquan He; +Cc: kexec, linux-kernel, Eric Biggers

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@kernel.org>
---
 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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-03-14 20:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-14 20:41 [PATCH] kernel/kexec: Remove inclusion of crypto/hash.h Eric Biggers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox