Skip to contentSkip to conversation

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

PATCH In review Yang Li 2 participants 2 messages Apr 6, 2021

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 x86/hyperv: remove unused including <linux/version.h>

Fix the following versioncheck warning:
./arch/x86/hyperv/hv_proc.c: 3 linux/version.h not needed.

---
 arch/x86/hyperv/hv_proc.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/hyperv/hv_proc.c +0 -1
index 60461e5..27e17ad 100644
@@ -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>
Signature · 1 line
1.8.3.1
maintainer
#1 lore raw
Quoted 5 lines · Yang Li

Fix the following versioncheck warning:
./arch/x86/hyperv/hv_proc.c: 3 linux/version.h not needed.

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

Wei.

Quoted 18 lines
---
 arch/x86/hyperv/hv_proc.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/hyperv/hv_proc.c +0 -1
index 60461e5..27e17ad 100644
@@ -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>
Signature · 1 line
1.8.3.1