vhost: drop virtio_net.h dependency
Subsystems (5)
Michael S. Tsirkin
maintainerPATCH 1/1 vhost: drop virtio_net.h dependency
There's no net specific code in vhost.c anymore,
don't include the virtio_net.h header.
Signed-off-by Michael S. Tsirkin <[email protected]>
---
This is on top of Asias' patches, already queued so just FYI.
drivers/vhost/vhost.c | 1 - 1 file changed, 1 deletion(-)
drivers/vhost/vhost.c +0 -1
@@ -13,7 +13,6 @@#include <linux/eventfd.h> #include <linux/vhost.h> -#include <linux/virtio_net.h> #include <linux/mm.h> #include <linux/mmu_context.h> #include <linux/miscdevice.h>
Signature · 1 line
MST
Quoted 4 lines · Michael S. Tsirkin
There's no net specific code in
vhost.canymore,
don't include thevirtio_net.hheader.Signed-off-by Michael S. Tsirkin <[email protected]>
Reviewed-by Asias He <[email protected]>
Quoted 22 lines
---
This is on top of Asias' patches, already queued so just FYI.
drivers/vhost/vhost.c | 1 - 1 file changed, 1 deletion(-)drivers/vhost/vhost.c +0
-1@@ -13,7 +13,6 @@#include <linux/eventfd.h> #include <linux/vhost.h> -#include <linux/virtio_net.h> #include <linux/mm.h> #include <linux/mmu_context.h> #include <linux/miscdevice.h> Signature · 1 line
MST
Signature · 1 line
Asias
Quoted 2 lines · Michael S. Tsirkin
There's no net specific code in
vhost.canymore,
don't include thevirtio_net.hheader.
Did you push the it to your tree. I am not seeing it.
Quoted 23 lines
Signed-off-by Michael S. Tsirkin <[email protected]>---
This is on top of Asias' patches, already queued so just FYI.
drivers/vhost/vhost.c | 1 - 1 file changed, 1 deletion(-)drivers/vhost/vhost.c +0
-1@@ -13,7 +13,6 @@#include <linux/eventfd.h> #include <linux/vhost.h> -#include <linux/virtio_net.h> #include <linux/mm.h> #include <linux/mmu_context.h> #include <linux/miscdevice.h> Signature · 1 line
MST
Signature · 1 line
Asias