summaryrefslogtreecommitdiffstats
path: root/kernel/ip_set_hash_ip.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2011-02-01 20:53:53 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-02-01 20:53:53 +0100
commit5a43ddf57de0935d15a0502552e2ede695c524b7 (patch)
treeb998ec82b8212f8707af66c846f7d4157f08dc7e /kernel/ip_set_hash_ip.c
parent9cfc5ea36de727bf51c821e120434ce967f8a1d4 (diff)
netfilter: ipset: remove unnecessary includes
None of the set types need uaccess.h since this is handled centrally in ip_set_core. Most set types additionally don't need bitops.h and spinlock.h since they use neither. tcp.h is only needed by those using before(), udp.h is not needed at all. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'kernel/ip_set_hash_ip.c')
-rw-r--r--kernel/ip_set_hash_ip.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/ip_set_hash_ip.c b/kernel/ip_set_hash_ip.c
index 53964bc..43bcce2 100644
--- a/kernel/ip_set_hash_ip.c
+++ b/kernel/ip_set_hash_ip.c
@@ -12,9 +12,6 @@
#include <linux/ip.h>
#include <linux/skbuff.h>
#include <linux/errno.h>
-#include <linux/uaccess.h>
-#include <linux/bitops.h>
-#include <linux/spinlock.h>
#include <linux/random.h>
#include <net/ip.h>
#include <net/ipv6.h>