summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-01-03 03:12:41 +0000
committerRichard Weinberger <richard@nod.at>2019-03-06 22:37:35 +0100
commitdf20af1e270bb6e024d9d009516b1da864d58632 (patch)
treeb4a79ccb5e85e2cff8369074760fccf96e469e57 /arch/um
parent1c163f4c7b3f621efff9b28a47abb36f7378d783 (diff)
downloadlinux-df20af1e270bb6e024d9d009516b1da864d58632.tar.bz2
um: Remove duplicated include from vector_user.c
Remove duplicated include. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Anton Ivanov <anton.ivanov@cambridgegreys.com> Acked-by: Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/drivers/vector_user.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/um/drivers/vector_user.c b/arch/um/drivers/vector_user.c
index d2c17dd74620..b3f7b3ca896d 100644
--- a/arch/um/drivers/vector_user.c
+++ b/arch/um/drivers/vector_user.c
@@ -16,14 +16,12 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <net/ethernet.h>
#include <netinet/ip.h>
#include <netinet/ether.h>
#include <linux/if_ether.h>
#include <linux/if_packet.h>
-#include <sys/socket.h>
#include <sys/wait.h>
#include <sys/uio.h>
#include <linux/virtio_net.h>
@@ -31,7 +29,6 @@
#include <stdlib.h>
#include <os.h>
#include <um_malloc.h>
-#include <sys/uio.h>
#include "vector_user.h"
#define ID_GRE 0