diff options
author | Patrick McHardy <kaber@trash.net> | 2011-02-01 20:53:53 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-02-01 20:53:53 +0100 |
commit | 5a43ddf57de0935d15a0502552e2ede695c524b7 (patch) | |
tree | b998ec82b8212f8707af66c846f7d4157f08dc7e /kernel/ip_set_bitmap_port.c | |
parent | 9cfc5ea36de727bf51c821e120434ce967f8a1d4 (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_bitmap_port.c')
-rw-r--r-- | kernel/ip_set_bitmap_port.c | 5 |
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> |