Skip to contentSkip to conversation

x86/hyperv: Remove duplicate include

PATCH Applied Jiapeng Chong 2 participants 2 messages Oct 27, 2021 – Oct 28, 2021

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

PATCH 1/1 x86/hyperv: Remove duplicate include

Clean up the following includecheck warning:

./arch/x86/hyperv/ivm.c: linux/bitfield.h is included more than once. ./arch/x86/hyperv/ivm.c: linux/types.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 4d012fd..69c7a57 100644
@@ -6,11 +6,9 @@
  *  Tianyu Lan <[email protected]>
  */
 
-#include <linux/types.h>
 #include <linux/bitfield.h>
 #include <linux/hyperv.h>
 #include <linux/types.h>
-#include <linux/bitfield.h>
 #include <linux/slab.h>
 #include <asm/svm.h>
 #include <asm/sev.h>
Signature · 1 line
1.8.3.1
maintainer Applied
#1 lore raw
Quoted 7 lines · Jiapeng Chong

Clean up the following includecheck warning:

./arch/x86/hyperv/ivm.c: linux/bitfield.h is included more than once. ./arch/x86/hyperv/ivm.c: linux/types.h is included more than once.

Applied to hyperv-next. Thanks.

Quoted 23 lines
---
 arch/x86/hyperv/ivm.c | 2 --
 1 file changed, 2 deletions(-)
arch/x86/hyperv/ivm.c +0 -2
index 4d012fd..69c7a57 100644
@@ -6,11 +6,9 @@
  *  Tianyu Lan <[email protected]>
  */
 
-#include <linux/types.h>
 #include <linux/bitfield.h>
 #include <linux/hyperv.h>
 #include <linux/types.h>
-#include <linux/bitfield.h>
 #include <linux/slab.h>
 #include <asm/svm.h>
 #include <asm/sev.h>
Signature · 1 line
1.8.3.1