Fix following checkinclude.pl warning:
./arch/x86/hyperv/hv_init.c: linux/io.h is included more than once.
The include is in line 13. Remove the duplicated here.
Signed-off-by: Wan Jiabing <[email protected]>
---
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.20.1
On Tue, Oct 26, 2021 at 07:32:49AM -0400, Wan Jiabing wrote:
> Fix following checkinclude.pl warning:
> ./arch/x86/hyperv/hv_init.c: linux/io.h is included more than once.
>
> The include is in line 13. Remove the duplicated here.
>
> Signed-off-by: Wan Jiabing <[email protected]>
Applied to hyperv-next. Thanks.
> ---
> 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.20.1
>