* [PATCH iproute2] xfrm: remove duplicated include
@ 2015-07-25 8:44 Zhang Shengju
2015-07-27 21:37 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Zhang Shengju @ 2015-07-25 8:44 UTC (permalink / raw)
To: netdev; +Cc: Zhang Shengju
Remove dupldated include for <linux/xfrm.h>, since it's already
included by 'xfrm.h'.
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
---
ip/ipxfrm.c | 1 -
ip/xfrm_monitor.c | 1 -
ip/xfrm_policy.c | 1 -
ip/xfrm_state.c | 1 -
4 files changed, 4 deletions(-)
diff --git a/ip/ipxfrm.c b/ip/ipxfrm.c
index 9c26428..e583abf 100644
--- a/ip/ipxfrm.c
+++ b/ip/ipxfrm.c
@@ -34,7 +34,6 @@
#include <netdb.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
-#include <linux/xfrm.h>
#include "utils.h"
#include "xfrm.h"
diff --git a/ip/xfrm_monitor.c b/ip/xfrm_monitor.c
index ebccb71..8b21efa 100644
--- a/ip/xfrm_monitor.c
+++ b/ip/xfrm_monitor.c
@@ -28,7 +28,6 @@
#include <stdlib.h>
#include <string.h>
#include <netinet/in.h>
-#include <linux/xfrm.h>
#include "utils.h"
#include "xfrm.h"
diff --git a/ip/xfrm_policy.c b/ip/xfrm_policy.c
index 8f4d1a0..efea1e8 100644
--- a/ip/xfrm_policy.c
+++ b/ip/xfrm_policy.c
@@ -29,7 +29,6 @@
#include <string.h>
#include <netdb.h>
#include <linux/netlink.h>
-#include <linux/xfrm.h>
#include "utils.h"
#include "xfrm.h"
#include "ip_common.h"
diff --git a/ip/xfrm_state.c b/ip/xfrm_state.c
index d2831d0..b5734da 100644
--- a/ip/xfrm_state.c
+++ b/ip/xfrm_state.c
@@ -28,7 +28,6 @@
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
-#include <linux/xfrm.h>
#include "utils.h"
#include "xfrm.h"
#include "ip_common.h"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH iproute2] xfrm: remove duplicated include
2015-07-25 8:44 [PATCH iproute2] xfrm: remove duplicated include Zhang Shengju
@ 2015-07-27 21:37 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2015-07-27 21:37 UTC (permalink / raw)
To: Zhang Shengju; +Cc: netdev
On Sat, 25 Jul 2015 04:44:24 -0400
Zhang Shengju <zhangshengju@cmss.chinamobile.com> wrote:
> Remove dupldated include for <linux/xfrm.h>, since it's already
> included by 'xfrm.h'.
>
> Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-27 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-25 8:44 [PATCH iproute2] xfrm: remove duplicated include Zhang Shengju
2015-07-27 21:37 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).