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

From: Baoquan He
Date: Fri Dec 15 2023 - 04:11:33 EST


On 12/15/23 at 04:54pm, Wang Jinchao wrote:
> remove second include of linux/kexec.h

Good catch.

Acked-by: Baoquan He <bhe@xxxxxxxxxx>

>
> Signed-off-by: Wang Jinchao <wangjinchao@xxxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/kexec
>