lkml.org 
[lkml]   [2019]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [-next] um: Remove duplicated include from vector_user.c
From
Date


On 1/3/19 3:12 AM, YueHaibing wrote:
> Remove duplicated include.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> arch/um/drivers/vector_user.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/um/drivers/vector_user.c b/arch/um/drivers/vector_user.c
> index d2c17dd..b3f7b3c 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
>

Reviewed-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Acked-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
--
Anton R. Ivanov

Cambridge Greys Limited, England and Wales company No 10273661
http://www.cambridgegreys.com/

\
 
 \ /
  Last update: 2019-01-20 19:56    [W:0.050 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site