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_hash_ipportip.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_hash_ipportip.c')
-rw-r--r-- | kernel/ip_set_hash_ipportip.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/ip_set_hash_ipportip.c b/kernel/ip_set_hash_ipportip.c index 80dae9d..22e23ab 100644 --- a/kernel/ip_set_hash_ipportip.c +++ b/kernel/ip_set_hash_ipportip.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> |