From: Sabyasachi Gupta <sabyasachi.linux@gmail.com>
To: jdike@addtoit.com, richard@nod.at,
anton.ivanov@cambridgegreys.com, yuehaibing@huawei.com
Cc: brajeswar.linux@gmail.com, linux-um@lists.infradead.org,
jrdr.linux@gmail.com, linux-kernel@vger.kernel.org
Subject: [PATCH] um: Remove duplicate headers
Date: Fri, 18 Jan 2019 20:28:31 +0530 [thread overview]
Message-ID: <5c41e99b.1c69fb81.f240b.506a@mx.google.com> (raw)
Remove sys/socket.h and sys/uio.h which are included more than once
Signed-off-by: Sabyasachi Gupta <sabyasachi.linux@gmail.com>
---
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
--
2.7.4
_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um
WARNING: multiple messages have this Message-ID (diff)
From: Sabyasachi Gupta <sabyasachi.linux@gmail.com>
To: jdike@addtoit.com, richard@nod.at,
anton.ivanov@cambridgegreys.com, yuehaibing@huawei.com
Cc: jrdr.linux@gmail.com, linux-um@lists.infradead.org,
linux-kernel@vger.kernel.org, brajeswar.linux@gmail.com
Subject: [PATCH] um: Remove duplicate headers
Date: Fri, 18 Jan 2019 20:28:31 +0530 [thread overview]
Message-ID: <5c41e99b.1c69fb81.f240b.506a@mx.google.com> (raw)
Remove sys/socket.h and sys/uio.h which are included more than once
Signed-off-by: Sabyasachi Gupta <sabyasachi.linux@gmail.com>
---
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
--
2.7.4
next reply other threads:[~2019-01-18 14:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-18 14:58 Sabyasachi Gupta [this message]
2019-01-18 14:58 ` [PATCH] um: Remove duplicate headers Sabyasachi Gupta
2019-01-18 19:23 ` Anton Ivanov
2019-01-18 19:42 ` Richard Weinberger
2019-01-18 20:00 ` Anton Ivanov
2019-01-18 20:00 ` Anton Ivanov
2019-01-18 21:54 ` Richard Weinberger
2019-01-18 21:54 ` Richard Weinberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5c41e99b.1c69fb81.f240b.506a@mx.google.com \
--to=sabyasachi.linux@gmail.com \
--cc=anton.ivanov@cambridgegreys.com \
--cc=brajeswar.linux@gmail.com \
--cc=jdike@addtoit.com \
--cc=jrdr.linux@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=richard@nod.at \
--cc=yuehaibing@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.