netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vhost_vdpa: Fix duplicate included kernel.h
@ 2020-09-15  0:51 Tian Tao
  2020-09-15  7:47 ` Jason Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Tian Tao @ 2020-09-15  0:51 UTC (permalink / raw)
  To: mst, jasowang, kvm, virtualization, netdev; +Cc: linuxarm

linux/kernel.h is included more than once, Remove the one that isn't
necessary.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
---
 drivers/vhost/vdpa.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c
index 3fab94f..95e2b83 100644
--- a/drivers/vhost/vdpa.c
+++ b/drivers/vhost/vdpa.c
@@ -22,7 +22,6 @@
 #include <linux/nospec.h>
 #include <linux/vhost.h>
 #include <linux/virtio_net.h>
-#include <linux/kernel.h>
 
 #include "vhost.h"
 
-- 
2.7.4


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

* Re: [PATCH] vhost_vdpa: Fix duplicate included kernel.h
  2020-09-15  0:51 [PATCH] vhost_vdpa: Fix duplicate included kernel.h Tian Tao
@ 2020-09-15  7:47 ` Jason Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Wang @ 2020-09-15  7:47 UTC (permalink / raw)
  To: Tian Tao, mst, kvm, virtualization, netdev; +Cc: linuxarm


On 2020/9/15 上午8:51, Tian Tao wrote:
> linux/kernel.h is included more than once, Remove the one that isn't
> necessary.
>
> Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
> ---
>   drivers/vhost/vdpa.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c
> index 3fab94f..95e2b83 100644
> --- a/drivers/vhost/vdpa.c
> +++ b/drivers/vhost/vdpa.c
> @@ -22,7 +22,6 @@
>   #include <linux/nospec.h>
>   #include <linux/vhost.h>
>   #include <linux/virtio_net.h>
> -#include <linux/kernel.h>
>   
>   #include "vhost.h"
>   


Acked-by: Jason Wang <jasowang@redhat.com>



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

end of thread, other threads:[~2020-09-15  7:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-15  0:51 [PATCH] vhost_vdpa: Fix duplicate included kernel.h Tian Tao
2020-09-15  7:47 ` Jason Wang

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).