x86/hyperv: remove unused including <linux/version.h>
diff mbox series

Message ID 1617674195-113872-1-git-send-email-yang.lee@linux.alibaba.com
State Accepted
Commit 90b9bfa4707c85c02cc1b22b57bc8abc24a6a5f0
Headers show
Series
  • x86/hyperv: remove unused including <linux/version.h>
Related show

Commit Message

Yang Li April 6, 2021, 1:56 a.m. UTC
Fix the following versioncheck warning:
./arch/x86/hyperv/hv_proc.c: 3 linux/version.h not needed.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 arch/x86/hyperv/hv_proc.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Wei Liu April 6, 2021, 10:59 a.m. UTC | #1
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@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

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
>

Patch
diff mbox series

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>