diff options
author | Patrick McHardy <kaber@trash.net> | 2006-05-30 01:19:19 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-18 04:28:45 (GMT) |
commit | 3e72b2fe5b31791f976350b023b7a37ef59c02c1 (patch) | |
tree | 94c34d9264d68141c11530cb94f58ed4d03a1dbd /net/netfilter/xt_connmark.c | |
parent | 73654d61e556483ad324b90989eae26b22df6ef6 (diff) | |
download | linux-3e72b2fe5b31791f976350b023b7a37ef59c02c1.tar.xz |
[NETFILTER]: x_tables: remove some unnecessary casts
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/xt_connmark.c')
-rw-r--r-- | net/netfilter/xt_connmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_connmark.c b/net/netfilter/xt_connmark.c index dc26a27..56324c8a 100644 --- a/net/netfilter/xt_connmark.c +++ b/net/netfilter/xt_connmark.c @@ -58,7 +58,7 @@ checkentry(const char *tablename, unsigned int matchsize, unsigned int hook_mask) { - struct xt_connmark_info *cm = (struct xt_connmark_info *)matchinfo; + struct xt_connmark_info *cm = matchinfo; if (cm->mark > 0xffffffff || cm->mask > 0xffffffff) { printk(KERN_WARNING "connmark: only support 32bit mark\n"); |