path: root/kernel/ip_set_bitmap_port.c
diff options
authorPatrick McHardy <>2011-02-01 20:53:53 +0100
committerJozsef Kadlecsik <>2011-02-01 20:53:53 +0100
commit5a43ddf57de0935d15a0502552e2ede695c524b7 (patch)
treeb998ec82b8212f8707af66c846f7d4157f08dc7e /kernel/ip_set_bitmap_port.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 <>
Diffstat (limited to 'kernel/ip_set_bitmap_port.c')
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/ip_set_bitmap_port.c b/kernel/ip_set_bitmap_port.c
index 92074bb..165f09b 100644
--- a/kernel/ip_set_bitmap_port.c
+++ b/kernel/ip_set_bitmap_port.c
@@ -9,13 +9,8 @@
#include <linux/module.h>
#include <linux/ip.h>
-#include <linux/tcp.h>
-#include <linux/udp.h>
#include <linux/skbuff.h>
#include <linux/errno.h>
-#include <linux/uaccess.h>
-#include <linux/bitops.h>
-#include <linux/spinlock.h>
#include <linux/netlink.h>
#include <linux/jiffies.h>
#include <linux/timer.h>