Thread (2 messages) 2 messages, 2 authors, 2020-09-15

Re: [PATCH] vhost_vdpa: Fix duplicate included kernel.h

From: Jason Wang <jasowang@redhat.com>
Date: 2020-09-15 07:47:47
Also in: kvm, virtualization

On 2020/9/15 上午8:51, Tian Tao wrote:
quoted hunk ↗ jump to hunk
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>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help