Re: [PATCH] x86/hyperv: remove duplicate include in hv_init.c

From: Wei Liu
Date: Thu Oct 28 2021 - 07:29:36 EST


On Wed, Oct 27, 2021 at 08:18:08AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: ran jianping <ran.jianping@xxxxxxxxxx>
>
> 'linux/io.h' included in 'arch/x86/hyperv/hv_init.c'
> is duplicated.It is also included on the 23 line.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: ran jianping <ran.jianping@xxxxxxxxxx>

This is fixed by an earlier patch which happened to be sent out one day
before yours. I just picked that one up.

Thanks anyway.

Wei.

> ---
> arch/x86/hyperv/hv_init.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/hyperv/hv_init.c b/arch/x86/hyperv/hv_init.c
> index a16a83e46a30..4fb7c7bb164e 100644
> --- a/arch/x86/hyperv/hv_init.c
> +++ b/arch/x86/hyperv/hv_init.c
> @@ -20,7 +20,6 @@
> #include <linux/kexec.h>
> #include <linux/version.h>
> #include <linux/vmalloc.h>
> -#include <linux/io.h>
> #include <linux/mm.h>
> #include <linux/hyperv.h>
> #include <linux/slab.h>
> --
> 2.25.1
>