From: ran jianping <[email protected]>
'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 <[email protected]>
Signed-off-by: ran jianping <[email protected]>
---
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
On Wed, Oct 27, 2021 at 09:05:44AM +0000, [email protected] wrote:
> From: ran jianping <[email protected]>
>
> '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 <[email protected]>
> Signed-off-by: ran jianping <[email protected]>
This is already dealt with. Thanks.
> ---
> 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
>