Skip to contentSkip to conversation

x86/virt/tdx: 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 x86/virt/tdx: Remove duplicate include

./arch/x86/virt/vmx/tdx/tdx.c: linux/acpi.h is included more than once.

---
 arch/x86/virt/vmx/tdx/tdx.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/virt/vmx/tdx/tdx.c +0 -1
index 4d6826a76f78..49a1c6890b55 100644
@@ -27,7 +27,6 @@
 #include <linux/log2.h>
 #include <linux/acpi.h>
 #include <linux/suspend.h>
-#include <linux/acpi.h>
 #include <asm/page.h>
 #include <asm/special_insns.h>
 #include <asm/msr-index.h>
Signature · 1 line
2.20.1.7.g153144c
Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · Jiapeng Chong

./arch/x86/virt/vmx/tdx/tdx.c: linux/acpi.h is included more than once.

---
 arch/x86/virt/vmx/tdx/tdx.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/virt/vmx/tdx/tdx.c +0 -0
index 4d6826a76f78..49a1c6890b55 100644

arch/x86/virt/vmx/tdx/tdx.c line 32

Quoted 7 lines
arch/x86/virt/vmx/tdx/tdx.c +0 -1
@@ -27,7 +27,6 @@
 #include <linux/log2.h>
 #include <linux/acpi.h>
 #include <linux/suspend.h>
-#include <linux/acpi.h>
 #include <asm/page.h>
 #include <asm/special_insns.h>
 #include <asm/msr-index.h>

Thanks:

merge bot Applied
#2 lore raw
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:     27d45fc7df2d9026185e86a7e45f3dd17f3e8ba4
Gitweb:        https://git.kernel.org/tip/27d45fc7df2d9026185e86a7e45f3dd17f3e8ba4
Author:        Jiapeng Chong <[email protected]>
AuthorDate:    Fri, 22 Mar 2024 14:17:41 +08:00
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Fri, 22 Mar 2024 09:35:43 +01:00

x86/virt/tdx: Remove duplicate include

./arch/x86/virt/vmx/tdx/tdx.c: linux/acpi.h is included more than once.

---
 arch/x86/virt/vmx/tdx/tdx.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/virt/vmx/tdx/tdx.c +0 -1
index 4d6826a..49a1c68 100644
@@ -27,7 +27,6 @@
 #include <linux/log2.h>
 #include <linux/acpi.h>
 #include <linux/suspend.h>
-#include <linux/acpi.h>
 #include <asm/page.h>
 #include <asm/special_insns.h>
 #include <asm/msr-index.h>