linux-hyperv.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/hyperv: Remove duplicated include in hv_init
@ 2021-10-26 11:32 Wan Jiabing
  2021-10-28 11:28 ` Wei Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-10-26 11:32 UTC (permalink / raw)
  To: K. Y. Srinivasan, Haiyang Zhang, Stephen Hemminger, Wei Liu,
	Dexuan Cui, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	Dave Hansen, x86, H. Peter Anvin, linux-hyperv, linux-kernel
  Cc: kael_w, Wan Jiabing

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 <wanjiabing@vivo.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86/hyperv: Remove duplicated include in hv_init
  2021-10-26 11:32 [PATCH] x86/hyperv: Remove duplicated include in hv_init Wan Jiabing
@ 2021-10-28 11:28 ` Wei Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Wei Liu @ 2021-10-28 11:28 UTC (permalink / raw)
  To: Wan Jiabing
  Cc: K. Y. Srinivasan, Haiyang Zhang, Stephen Hemminger, Wei Liu,
	Dexuan Cui, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	Dave Hansen, x86, H. Peter Anvin, linux-hyperv, linux-kernel,
	kael_w

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 <wanjiabing@vivo.com>

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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-28 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26 11:32 [PATCH] x86/hyperv: Remove duplicated include in hv_init Wan Jiabing
2021-10-28 11:28 ` Wei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).