2024-01-26 00:45:08

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] kexec: Remove duplicated include in crash_reserve.c

The header files kexec.h is included twice in crash_reserve.c,
so one inclusion can be removed.

Signed-off-by: Yang Li <[email protected]>
---
kernel/crash_reserve.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/crash_reserve.c b/kernel/crash_reserve.c
index bbb6c3cb00e4..db8bdf47a2c0 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.20.1.7.g153144c



2024-01-26 11:22:08

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH -next] kexec: Remove duplicated include in crash_reserve.c

On Fri, Jan 26, 2024 at 08:44:49AM +0800, Yang Li wrote:
> The header files kexec.h is included twice in crash_reserve.c,
> so one inclusion can be removed.
>
> Signed-off-by: Yang Li <[email protected]>

Reviewed-by: Simon Horman <[email protected]>