Skip to contentSkip to conversation

xen/x86: Remove duplicate include

PATCH Applied Jiapeng Chong 3 participants 3 messages Mar 22, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/x86: Remove duplicate include

./arch/x86/xen/enlighten.c: linux/memblock.h is included more than once.

---
 arch/x86/xen/enlighten.c | 3 ---
 1 file changed, 3 deletions(-)
arch/x86/xen/enlighten.c +0 -3
index a01ca255b0c6..5f3a69f6ec34 100644
@@ -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>
Signature · 1 line
2.20.1.7.g153144c
merge bot Applied
#2 lore raw

[tip: x86/cleanups] x86/xen: Remove duplicate #include

In reply to Jiapeng Chong
The following commit has been merged into the x86/cleanups branch of tip:

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     b0daa43204b1b78dce43e26604e47e3e55e1af91
Gitweb:        https://git.kernel.org/tip/b0daa43204b1b78dce43e26604e47e3e55e1af91
Author:        Jiapeng Chong <[email protected]>
AuthorDate:    Fri, 22 Mar 2024 14:39:57 +08:00
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Fri, 22 Mar 2024 09:34:15 +01:00

x86/xen: Remove duplicate #include

./arch/x86/xen/enlighten.c: linux/memblock.h is included more than once.

---
 arch/x86/xen/enlighten.c | 3 ---
 1 file changed, 3 deletions(-)
arch/x86/xen/enlighten.c +0 -3
index 3c61bb9..7030a6a 100644
@@ -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>