Re: [PATCH] um: Remove duplicate headers

From: Richard Weinberger
Date: Fri Jan 18 2019 - 14:42:19 EST


Am Freitag, 18. Januar 2019, 20:23:07 CET schrieb Anton Ivanov:
>
> On 18/01/2019 14:58, Sabyasachi Gupta wrote:
> > Remove sys/socket.h and sys/uio.h which are included more than once
> >
> > Signed-off-by: Sabyasachi Gupta <sabyasachi.linux@xxxxxxxxx>
> > ---
> > arch/um/drivers/vector_user.c | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/arch/um/drivers/vector_user.c b/arch/um/drivers/vector_user.c
> > index d2c17dd..c863921 100644
> > --- a/arch/um/drivers/vector_user.c
> > +++ b/arch/um/drivers/vector_user.c
> > @@ -23,7 +23,6 @@
> > #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 +30,6 @@
> > #include <stdlib.h>
> > #include <os.h>
> > #include <um_malloc.h>
> > -#include <sys/uio.h>
> > #include "vector_user.h"
> >
> > #define ID_GRE 0
> >
>
> Hi Sabyasachi,
>
> I believe we have an identical patch enqueued already from a couple of
> weeks back.

Hmm, did I miss that one in patchwork?

Thanks,
//richard