Re: [PATCH] x86/hyperv: Remove duplicate include

From: Wei Liu
Date: Thu Oct 28 2021 - 07:38:08 EST


On Wed, Oct 27, 2021 at 04:57:02PM +0800, Jiapeng Chong wrote:
> 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.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>

Applied to hyperv-next. 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 4d012fd..69c7a57 100644
> --- a/arch/x86/hyperv/ivm.c
> +++ b/arch/x86/hyperv/ivm.c
> @@ -6,11 +6,9 @@
> * Tianyu Lan <Tianyu.Lan@xxxxxxxxxxxxx>
> */
>
> -#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>
> --
> 1.8.3.1
>