aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-04-15 20:27:03 +0200
committerJan Engelhardt <jengelh@medozas.de>2009-05-08 10:30:47 +0200
commitccf5bd8c27daa4184004438273e03d3812b14d75 (patch)
tree23928081a0635da191b390c144e9b1faad75cf1b /net/ipv6
parentnetfilter: xtables: use NFPROTO_ in standard targets (diff)
downloadlinux-dev-ccf5bd8c27daa4184004438273e03d3812b14d75.tar.xz
linux-dev-ccf5bd8c27daa4184004438273e03d3812b14d75.zip
netfilter: xtables: remove redundant casts
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/netfilter/ip6_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c
index 37a850e3dc8e..2b52fac52a30 100644
--- a/net/ipv6/netfilter/ip6_tables.c
+++ b/net/ipv6/netfilter/ip6_tables.c
@@ -312,7 +312,7 @@ static void trace_packet(struct sk_buff *skb,
char *hookname, *chainname, *comment;
unsigned int rulenum = 0;
- table_base = (void *)private->entries[smp_processor_id()];
+ table_base = private->entries[smp_processor_id()];
root = get_entry(table_base, private->hook_entry[hook]);
hookname = chainname = (char *)hooknames[hook];