Message ID | 1600131102-24672-1-git-send-email-tiantao6@hisilicon.com |
---|---|
State | New |
Headers | show |
Series | vhost_vdpa: Fix duplicate included kernel.h | expand |
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>
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"
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(-)