x86/xen: Remove duplicate #include
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 22 Mar 2024 06:39:57 +0000 (14:39 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 22 Mar 2024 08:34:15 +0000 (09:34 +0100)
./arch/x86/xen/enlighten.c: linux/memblock.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20240322063957.94159-1-jiapeng.chong@linux.alibaba.com
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8610
arch/x86/xen/enlighten.c

index 3c61bb98c10e283ddccbcc33ce6fd7d860a95280..7030a6aa96700c05136710d6c28bb969ba457201 100644 (file)
@@ -1,8 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0
 
-#ifdef CONFIG_XEN_BALLOON_MEMORY_HOTPLUG
-#include <linux/memblock.h>
-#endif
 #include <linux/console.h>
 #include <linux/cpu.h>
 #include <linux/kexec.h>