Messages in this thread | | | Subject | Re: [-next] um: Remove duplicated include from vector_user.c | From | Anton Ivanov <> | Date | Sun, 20 Jan 2019 18:54:56 +0000 |
| |
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/
| |