diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-05-06 12:29:36 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-05-06 13:04:06 +0200 |
commit | 7542a6b0d273ba4338028d39bc0e6e8cbfc68898 (patch) | |
tree | 3f5744c642cff2c4b5eaa75e78f4cebcb54531ab /drivers/vhost/vhost.c | |
parent | vhost-net: Cleanup vhost_ubuf and vhost_zcopy (diff) | |
download | linux-7542a6b0d273ba4338028d39bc0e6e8cbfc68898.tar.xz linux-7542a6b0d273ba4338028d39bc0e6e8cbfc68898.zip |
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 <mst@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/vhost/vhost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index de9441a1b158..beee7f5787e6 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -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> |