netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vhost: Drop linux/socket.h
@ 2013-08-15  3:20 Asias He
  2013-08-15 21:07 ` David Miller
  0 siblings, 1 reply; 10+ messages in thread
From: Asias He @ 2013-08-15  3:20 UTC (permalink / raw)
  To: netdev; +Cc: virtualization, kvm, Michael S. Tsirkin

memcpy_fromiovec is moved to lib/iovec.c. No need to include
linux/socket.h for it.

Signed-off-by: Asias He <asias@redhat.com>
---
 drivers/vhost/vhost.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index e58cf00..038c242 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -13,7 +13,6 @@
 
 #include <linux/eventfd.h>
 #include <linux/vhost.h>
-#include <linux/socket.h> /* memcpy_fromiovec */
 #include <linux/mm.h>
 #include <linux/mmu_context.h>
 #include <linux/miscdevice.h>
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-08-20 22:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-15  3:20 [PATCH] vhost: Drop linux/socket.h Asias He
2013-08-15 21:07 ` David Miller
2013-08-16  1:27   ` Asias He
2013-08-16  7:31     ` David Miller
2013-08-16  9:27       ` Asias He
2013-08-17  5:29         ` David Miller
2013-08-19  1:23           ` [PATCH v2] vhost: Include linux/uio.h instead of linux/socket.h Asias He
2013-08-19  7:24             ` Michael S. Tsirkin
2013-08-20 22:08             ` David Miller
2013-08-16  9:50       ` [PATCH] vhost: Drop linux/socket.h Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).