Skip to contentSkip to conversation

vhost: drop virtio_net.h dependency

PATCH In review Michael S. Tsirkin 2 participants 3 messages May 6, 2013

Subsystems (5)
lore
Share & tools
lore

Michael S. Tsirkin

author maintainer
#0 lore raw

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

---

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
index de9441a..dcde269 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Michael S. Tsirkin

There's no net specific code in vhost.c anymore,
don't include the virtio_net.h header.

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
index de9441a..dcde269 100644
@@ -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
#2 lore raw
In reply to Michael S. Tsirkin
Quoted 2 lines · Michael S. Tsirkin

There's no net specific code in vhost.c anymore,
don't include the virtio_net.h header.

Did you push the it to your tree. I am not seeing it.

Quoted 23 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
index de9441a..dcde269 100644
@@ -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