Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crash: Remove header files which are included more than once
@ 2024-06-06  9:14 Wenchao Hao
  2024-06-07  6:26 ` Baoquan He
  0 siblings, 1 reply; 2+ messages in thread
From: Wenchao Hao @ 2024-06-06  9:14 UTC (permalink / raw)
  To: Baoquan He, Vivek Goyal, Dave Young, kexec, linux-kernel; +Cc: Wenchao Hao

Following warning is reported, so remove these duplicated header
including:

./kernel/crash_reserve.c: linux/kexec.h is included more than once.

This is just a clean code, no logic changed.

Signed-off-by: Wenchao Hao <haowenchao22@gmail.com>
---
 kernel/crash_reserve.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/crash_reserve.c b/kernel/crash_reserve.c
index 5b2722a93a48..d3b4cd12bdd1 100644
--- a/kernel/crash_reserve.c
+++ b/kernel/crash_reserve.c
@@ -13,7 +13,6 @@
 #include <linux/memory.h>
 #include <linux/cpuhotplug.h>
 #include <linux/memblock.h>
-#include <linux/kexec.h>
 #include <linux/kmemleak.h>
 
 #include <asm/page.h>
-- 
2.38.1


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-07  6:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06  9:14 [PATCH] crash: Remove header files which are included more than once Wenchao Hao
2024-06-07  6:26 ` Baoquan He

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