projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe729a5
)
vhost: drop virtio_net.h dependency
author
Michael S. Tsirkin
<mst@redhat.com>
Mon, 6 May 2013 10:29:36 +0000
(13:29 +0300)
committer
Michael 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/vhost/vhost.c
b/drivers/vhost/vhost.c
index de9441a1b158cf68682604518f3a748c88f110e2..beee7f5787e6c814b2420f745be2555ca6a71af5 100644
(file)
--- 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>