diff options
author | Wenchao Hao <haowenchao22@gmail.com> | 2024-06-06 11:14:27 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-06-25 07:25:08 +0200 |
commit | 5eb1911a8c63f0e10a5f746f52fcc3c9bbfbc710 (patch) | |
tree | 36937a31d1a1ba9032a72d403023c4c162406780 /kernel | |
parent | proc: test "Kthread:" field (diff) | |
download | linux-5eb1911a8c63f0e10a5f746f52fcc3c9bbfbc710.tar.xz linux-5eb1911a8c63f0e10a5f746f52fcc3c9bbfbc710.zip |
crash: remove header files which are included more than once
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.
Link: https://lkml.kernel.org/r/20240606091427.3512314-1-haowenchao22@gmail.com
Signed-off-by: Wenchao Hao <haowenchao22@gmail.com>
Acked-by: Baoquan He <bhe@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/crash_reserve.c | 1 |
1 files changed, 0 insertions, 1 deletions
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> |