diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2024-03-22 09:39:57 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-03-22 11:34:15 +0300 |
commit | b0daa43204b1b78dce43e26604e47e3e55e1af91 (patch) | |
tree | 34af07b8fc4c854b354552a34eea8b3d95863959 /arch/x86/xen | |
parent | 4ae3dc83b047d51485cce1a72be277a110d77c91 (diff) | |
download | linux-b0daa43204b1b78dce43e26604e47e3e55e1af91.tar.xz |
x86/xen: Remove duplicate #include
./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
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/enlighten.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 3c61bb98c10e..7030a6aa9670 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -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> |