[PATCH nf-next] netfilter: remove unused headers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some headers aren't used at these files.  So it's safe to remove.

Signed-off-by: Weongyo Jeong <weongyo.linux@xxxxxxxxx>
---
 net/ipv4/netfilter/ipt_CLUSTERIP.c | 5 -----
 net/ipv4/netfilter/ipt_REJECT.c    | 3 ---
 2 files changed, 8 deletions(-)

diff --git a/net/ipv4/netfilter/ipt_CLUSTERIP.c b/net/ipv4/netfilter/ipt_CLUSTERIP.c
index 2c8d313..f275460 100644
--- a/net/ipv4/netfilter/ipt_CLUSTERIP.c
+++ b/net/ipv4/netfilter/ipt_CLUSTERIP.c
@@ -17,9 +17,6 @@
 #include <linux/skbuff.h>
 #include <linux/slab.h>
 #include <linux/ip.h>
-#include <linux/tcp.h>
-#include <linux/udp.h>
-#include <linux/icmp.h>
 #include <linux/if_arp.h>
 #include <linux/seq_file.h>
 #include <linux/refcount.h>
@@ -30,8 +27,6 @@
 #include <net/netfilter/nf_conntrack.h>
 #include <net/net_namespace.h>
 #include <net/netns/generic.h>
-#include <net/checksum.h>
-#include <net/ip.h>
 
 #define CLUSTERIP_VERSION "0.8"
 
diff --git a/net/ipv4/netfilter/ipt_REJECT.c b/net/ipv4/netfilter/ipt_REJECT.c
index e8bed33..d12360a 100644
--- a/net/ipv4/netfilter/ipt_REJECT.c
+++ b/net/ipv4/netfilter/ipt_REJECT.c
@@ -14,9 +14,6 @@
 #include <linux/skbuff.h>
 #include <linux/slab.h>
 #include <linux/ip.h>
-#include <linux/udp.h>
-#include <linux/icmp.h>
-#include <net/icmp.h>
 #include <linux/netfilter/x_tables.h>
 #include <linux/netfilter_ipv4/ip_tables.h>
 #include <linux/netfilter_ipv4/ipt_REJECT.h>
-- 
2.7.4




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux