Skip to contentSkip to conversation

x86/hyperv: Remove duplicate include

PATCH Applied Jiapeng Chong 3 participants 3 messages Aug 24, 2023 – Aug 25, 2023

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

PATCH 1/1 x86/hyperv: Remove duplicate include

./arch/x86/hyperv/ivm.c: asm/sev.h is included more than once. ./arch/x86/hyperv/ivm.c: asm/coco.h is included more than once.

---
 arch/x86/hyperv/ivm.c | 2 --
 1 file changed, 2 deletions(-)
arch/x86/hyperv/ivm.c +0 -2
index 1448c6338971..55d43415a2fd 100644
@@ -18,9 +18,7 @@
 #include <asm/mshyperv.h>
 #include <asm/hypervisor.h>
 #include <asm/mtrr.h>
-#include <asm/coco.h>
 #include <asm/io_apic.h>
-#include <asm/sev.h>
 #include <asm/realmode.h>
 #include <asm/e820/api.h>
 #include <asm/desc.h>
Signature · 1 line
2.20.1.7.g153144c
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines

From: Jiapeng Chong <[email protected]>
Sent: Thursday, August 24, 2023 1:04 AM
[...]

arch/x86/hyperv/ivm.c line 24

Quoted 9 lines
arch/x86/hyperv/ivm.c +0 -2
@@ -18,9 +18,7 @@
 #include <asm/mshyperv.h>
 #include <asm/hypervisor.h>
 #include <asm/mtrr.h>
-#include <asm/coco.h>
 #include <asm/io_apic.h>
-#include <asm/sev.h>
 #include <asm/realmode.h>
 #include <asm/e820/api.h>
 #include <asm/desc.h>

I wish the header files were alphabetically ordered so that we would have avoided the issue...