aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipset/ip_set_bitmap_port.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2011-02-01 16:57:37 +0100
committerPatrick McHardy <kaber@trash.net>2011-02-01 16:57:37 +0100
commit582e1fc85ca3727abd4e99109a267c514ea5c260 (patch)
tree3825693687537c4fd0c72f5cc497d917e5f9572e /net/netfilter/ipset/ip_set_bitmap_port.c
parentnetfilter: ipset: use nla_parse_nested() (diff)
downloadlinux-dev-582e1fc85ca3727abd4e99109a267c514ea5c260.tar.xz
linux-dev-582e1fc85ca3727abd4e99109a267c514ea5c260.zip
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 'net/netfilter/ipset/ip_set_bitmap_port.c')
-rw-r--r--net/netfilter/ipset/ip_set_bitmap_port.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/netfilter/ipset/ip_set_bitmap_port.c b/net/netfilter/ipset/ip_set_bitmap_port.c
index 92074bb64134..165f09b1a9cb 100644
--- a/net/netfilter/ipset/ip_set_bitmap_port.c
+++ b/net/netfilter/ipset/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>