[PATCH] crash_core: remove duplicated including of kexec.h

Wang Jinchao posted 1 patch 2 years ago
kernel/crash_core.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] crash_core: remove duplicated including of kexec.h
Posted by Wang Jinchao 2 years ago
remove second include of linux/kexec.h

Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>
---
 kernel/crash_core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/crash_core.c b/kernel/crash_core.c
index efe87d501c8c..d72985222b16 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>
-- 
2.40.0
Re: [PATCH] crash_core: remove duplicated including of kexec.h
Posted by Baoquan He 2 years ago
On 12/15/23 at 04:54pm, Wang Jinchao wrote:
> remove second include of linux/kexec.h

Good catch.

Acked-by: Baoquan He <bhe@redhat.com>

> 
> Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>
> ---
>  kernel/crash_core.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/kernel/crash_core.c b/kernel/crash_core.c
> index efe87d501c8c..d72985222b16 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>
> -- 
> 2.40.0
> 
> 
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
>