diff options
author | Patrick McHardy <kaber@trash.net> | 2011-02-01 16:57:37 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-02-01 16:57:37 +0100 |
commit | 582e1fc85ca3727abd4e99109a267c514ea5c260 (patch) | |
tree | 3825693687537c4fd0c72f5cc497d917e5f9572e /net/netfilter/ipset/ip_set_hash_net.c | |
parent | 8da560ced56c423cd6d35803cd0244c944c676bd (diff) | |
download | linux-582e1fc85ca3727abd4e99109a267c514ea5c260.tar.bz2 |
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_hash_net.c')
-rw-r--r-- | net/netfilter/ipset/ip_set_hash_net.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/netfilter/ipset/ip_set_hash_net.c b/net/netfilter/ipset/ip_set_hash_net.c index fb0e6a68d13e..c4db202b7da4 100644 --- a/net/netfilter/ipset/ip_set_hash_net.c +++ b/net/netfilter/ipset/ip_set_hash_net.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> |