[-next] crash_core: Remove duplicated include in crash_core.c

Message ID 20230915055844.37935-1-yang.lee@linux.alibaba.com
State New
Headers
Series [-next] crash_core: Remove duplicated include in crash_core.c |

Commit Message

Yang Li Sept. 15, 2023, 5:58 a.m. UTC
  ./kernel/crash_core.c: linux/kexec.h is included more than once.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 kernel/crash_core.c | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Simon Horman Sept. 20, 2023, 11:53 a.m. UTC | #1
On Fri, Sep 15, 2023 at 01:58:44PM +0800, Yang Li wrote:
> ./kernel/crash_core.c: linux/kexec.h is included more than once.
> 
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

FWIIW, this seems to have been added recently, by

926f75c8a5ab ("Add linux-next specific files for 20230920")

Reviewed-by: Simon Horman <horms@kernel.org>
  

Patch

diff --git a/kernel/crash_core.c b/kernel/crash_core.c
index 1a77d466eaed..90fc1b636ba0 100644
--- a/kernel/crash_core.c
+++ b/kernel/crash_core.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>