vhost: drop virtio_net.h dependency
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 6 May 2013 10:29:36 +0000 (13:29 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 6 May 2013 11:04:06 +0000 (14:04 +0300)
There's no net specific code in vhost.c anymore,
don't include the virtio_net.h header.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c

index de9441a1b158cf68682604518f3a748c88f110e2..beee7f5787e6c814b2420f745be2555ca6a71af5 100644 (file)
@@ -13,7 +13,7 @@
 
 #include <linux/eventfd.h>
 #include <linux/vhost.h>
-#include <linux/virtio_net.h>
+#include <linux/socket.h> /* memcpy_fromiovec */
 #include <linux/mm.h>
 #include <linux/mmu_context.h>
 #include <linux/miscdevice.h>