summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-20 10:25:04 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-20 10:25:04 +0100
commiteb0a9bd761f019f9d5588090c193a39506506240 (patch)
tree056b540bdc0bd3e6fa9f94b22b780b2df6ed2b0c /kernel
parentc2d28607e25b8884ffb893ab4bc6cbb3b1c5a386 (diff)
Get rid of ip_set_kernel.h
The header file was useful at deep debugging only, we can get rid of now. (Patrick McHardy's review)
Diffstat (limited to 'kernel')
-rw-r--r--kernel/include/linux/netfilter/ipset/ip_set_kernel.h15
-rw-r--r--kernel/ip_set_bitmap_ip.c1
-rw-r--r--kernel/ip_set_bitmap_ipmac.c1
-rw-r--r--kernel/ip_set_bitmap_port.c1
-rw-r--r--kernel/ip_set_core.c1
-rw-r--r--kernel/ip_set_hash_ip.c1
-rw-r--r--kernel/ip_set_hash_ipport.c1
-rw-r--r--kernel/ip_set_hash_ipportip.c1
-rw-r--r--kernel/ip_set_hash_ipportnet.c1
-rw-r--r--kernel/ip_set_hash_net.c1
-rw-r--r--kernel/ip_set_hash_netport.c1
-rw-r--r--kernel/ip_set_list_set.c1
12 files changed, 0 insertions, 26 deletions
diff --git a/kernel/include/linux/netfilter/ipset/ip_set_kernel.h b/kernel/include/linux/netfilter/ipset/ip_set_kernel.h
deleted file mode 100644
index d770589..0000000
--- a/kernel/include/linux/netfilter/ipset/ip_set_kernel.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef _IP_SET_KERNEL_H
-#define _IP_SET_KERNEL_H
-
-#ifdef __KERNEL__
-
-#ifdef CONFIG_DEBUG_KERNEL
-/* Complete debug messages */
-#define pr_fmt(fmt) "%s %s[%i]: " fmt "\n", __FILE__, __func__, __LINE__
-#endif
-
-#include <linux/kernel.h>
-
-#endif /* __KERNEL__ */
-
-#endif /*_IP_SET_H */
diff --git a/kernel/ip_set_bitmap_ip.c b/kernel/ip_set_bitmap_ip.c
index b653036..a1fed99 100644
--- a/kernel/ip_set_bitmap_ip.c
+++ b/kernel/ip_set_bitmap_ip.c
@@ -9,7 +9,6 @@
/* Kernel module implementing an IP set type: the bitmap:ip type */
-#include <linux/netfilter/ipset/ip_set_kernel.h>
#include <linux/module.h>
#include <linux/ip.h>
#include <linux/skbuff.h>
diff --git a/kernel/ip_set_bitmap_ipmac.c b/kernel/ip_set_bitmap_ipmac.c
index c451b59..a70c601 100644
--- a/kernel/ip_set_bitmap_ipmac.c
+++ b/kernel/ip_set_bitmap_ipmac.c
@@ -10,7 +10,6 @@
/* Kernel module implementing an IP set type: the bitmap:ip,mac type */
-#include <linux/netfilter/ipset/ip_set_kernel.h>
#include <linux/module.h>
#include <linux/ip.h>
#include <linux/etherdevice.h>
diff --git a/kernel/ip_set_bitmap_port.c b/kernel/ip_set_bitmap_port.c
index 3d5e6e3..ae1b2b3 100644
--- a/kernel/ip_set_bitmap_port.c
+++ b/kernel/ip_set_bitmap_port.c
@@ -7,7 +7,6 @@
/* Kernel module implementing an IP set type: the bitmap:port type */
-#include <linux/netfilter/ipset/ip_set_kernel.h>
#include <linux/module.h>
#include <linux/ip.h>
#include <linux/tcp.h>
diff --git a/kernel/ip_set_core.c b/kernel/ip_set_core.c
index 1a9f72d..9761487 100644
--- a/kernel/ip_set_core.c
+++ b/kernel/ip_set_core.c
@@ -9,7 +9,6 @@
/* Kernel module for IP set management */
-#include <linux/netfilter/ipset/ip_set_kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
diff --git a/kernel/ip_set_hash_ip.c b/kernel/ip_set_hash_ip.c
index b374462..221abef 100644
--- a/kernel/ip_set_hash_ip.c
+++ b/kernel/ip_set_hash_ip.c
@@ -7,7 +7,6 @@
/* Kernel module implementing an IP set type: the hash:ip type */
-#include <linux/netfilter/ipset/ip_set_kernel.h>
#include <linux/jhash.h>
#include <linux/module.h>
#include <linux/ip.h>
diff --git a/kernel/ip_set_hash_ipport.c b/kernel/ip_set_hash_ipport.c
index 6953042..494619b 100644
--- a/kernel/ip_set_hash_ipport.c
+++ b/kernel/ip_set_hash_ipport.c
@@ -7,7 +7,6 @@
/* Kernel module implementing an IP set type: the hash:ip,port type */
-#include <linux/netfilter/ipset/ip_set_kernel.h>
#include <linux/jhash.h>
#include <linux/module.h>
#include <linux/ip.h>
diff --git a/kernel/ip_set_hash_ipportip.c b/kernel/ip_set_hash_ipportip.c
index 94c6634..0ac31c8 100644
--- a/kernel/ip_set_hash_ipportip.c
+++ b/kernel/ip_set_hash_ipportip.c
@@ -7,7 +7,6 @@
/* Kernel module implementing an IP set type: the hash:ip,port,ip type */
-#include <linux/netfilter/ipset/ip_set_kernel.h>
#include <linux/jhash.h>
#include <linux/module.h>
#include <linux/ip.h>
diff --git a/kernel/ip_set_hash_ipportnet.c b/kernel/ip_set_hash_ipportnet.c
index 0768981..908f580 100644
--- a/kernel/ip_set_hash_ipportnet.c
+++ b/kernel/ip_set_hash_ipportnet.c
@@ -7,7 +7,6 @@
/* Kernel module implementing an IP set type: the hash:ip,port,net type */
-#include <linux/netfilter/ipset/ip_set_kernel.h>
#include <linux/jhash.h>
#include <linux/module.h>
#include <linux/ip.h>
diff --git a/kernel/ip_set_hash_net.c b/kernel/ip_set_hash_net.c
index e7f4016..f2d91a9 100644
--- a/kernel/ip_set_hash_net.c
+++ b/kernel/ip_set_hash_net.c
@@ -7,7 +7,6 @@
/* Kernel module implementing an IP set type: the hash:net type */
-#include <linux/netfilter/ipset/ip_set_kernel.h>
#include <linux/jhash.h>
#include <linux/module.h>
#include <linux/ip.h>
diff --git a/kernel/ip_set_hash_netport.c b/kernel/ip_set_hash_netport.c
index d17f077..ef06aff 100644
--- a/kernel/ip_set_hash_netport.c
+++ b/kernel/ip_set_hash_netport.c
@@ -7,7 +7,6 @@
/* Kernel module implementing an IP set type: the hash:net,port type */
-#include <linux/netfilter/ipset/ip_set_kernel.h>
#include <linux/jhash.h>
#include <linux/module.h>
#include <linux/ip.h>
diff --git a/kernel/ip_set_list_set.c b/kernel/ip_set_list_set.c
index 486e6a9..3525e3b 100644
--- a/kernel/ip_set_list_set.c
+++ b/kernel/ip_set_list_set.c
@@ -7,7 +7,6 @@
/* Kernel module implementing an IP set type: the list:set type */
-#include <linux/netfilter/ipset/ip_set_kernel.h>
#include <linux/module.h>
#include <linux/ip.h>
#include <linux/skbuff.h>