lkml.org 
[lkml]   [2021]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] x86/hyperv: remove duplicate include in ivm.c
Date
From: ran jianping <ran.jianping@zte.com.cn>

'linux/types.h' included in 'arch/x86/hyperv/ivm.c'
is duplicated.It is also included on the 12 line.
'linux/bitfield.h'included in 'arch/x86/hyperv/ivm.c'
is duplicated.It is also included on the 13 line.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ran jianping <ran.jianping@zte.com.cn>
---
arch/x86/hyperv/ivm.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/x86/hyperv/ivm.c b/arch/x86/hyperv/ivm.c
index 4d012fd9d95d..479201ceae8e 100644
--- a/arch/x86/hyperv/ivm.c
+++ b/arch/x86/hyperv/ivm.c
@@ -9,8 +9,6 @@
#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>
--
2.25.1
\
 
 \ /
  Last update: 2021-10-27 11:06    [W:0.061 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site