Re: [PATCH] x86/hyperv: remove unused including <linux/version.h>

From: Wei Liu
Date: Tue Apr 06 2021 - 07:00:07 EST


On Tue, Apr 06, 2021 at 09:56:35AM +0800, Yang Li wrote:
> Fix the following versioncheck warning:
> ./arch/x86/hyperv/hv_proc.c: 3 linux/version.h not needed.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>

Thanks for the patch. This is already reported and fixed in hyperv-next
by Huawei's Hulk bot.

Wei.

> ---
> arch/x86/hyperv/hv_proc.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/hyperv/hv_proc.c b/arch/x86/hyperv/hv_proc.c
> index 60461e5..27e17ad 100644
> --- a/arch/x86/hyperv/hv_proc.c
> +++ b/arch/x86/hyperv/hv_proc.c
> @@ -1,6 +1,5 @@
> // SPDX-License-Identifier: GPL-2.0
> #include <linux/types.h>
> -#include <linux/version.h>
> #include <linux/vmalloc.h>
> #include <linux/mm.h>
> #include <linux/clockchips.h>
> --
> 1.8.3.1
>