Thread (98 messages) 98 messages, 12 authors, 2016-03-11
STALE3787d

[PATCH v3 8/8] vhost: remove duplicate header include

From: Yuanhan Liu <hidden>
Date: 2016-01-29 04:57:34
Subsystem: library code, the rest · Maintainers: Andrew Morton, Linus Torvalds

unistd.h has been included twice; remove one.

Signed-off-by: Yuanhan Liu <redacted>
---
 lib/librte_vhost/vhost_user/virtio-net-user.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/lib/librte_vhost/vhost_user/virtio-net-user.c b/lib/librte_vhost/vhost_user/virtio-net-user.c
index cda330d..4270c98 100644
--- a/lib/librte_vhost/vhost_user/virtio-net-user.c
+++ b/lib/librte_vhost/vhost_user/virtio-net-user.c
@@ -39,7 +39,6 @@
 #include <sys/mman.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <unistd.h>
 #include <sys/ioctl.h>
 #include <sys/socket.h>
 #include <net/ethernet.h>
-- 
1.9.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help