diff options
author | Patrick McHardy <kaber@trash.net> | 2006-05-29 21:19:19 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-18 00:28:45 -0400 |
commit | 3e72b2fe5b31791f976350b023b7a37ef59c02c1 (patch) | |
tree | 94c34d9264d68141c11530cb94f58ed4d03a1dbd /net/ipv4 | |
parent | 73654d61e556483ad324b90989eae26b22df6ef6 (diff) |
[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/ipv4')
-rw-r--r-- | net/ipv4/netfilter/ipt_hashlimit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ipt_hashlimit.c b/net/ipv4/netfilter/ipt_hashlimit.c index 7c6836c4646e..b88adc7f4b47 100644 --- a/net/ipv4/netfilter/ipt_hashlimit.c +++ b/net/ipv4/netfilter/ipt_hashlimit.c | |||
@@ -561,7 +561,7 @@ static void | |||
561 | hashlimit_destroy(const struct xt_match *match, void *matchinfo, | 561 | hashlimit_destroy(const struct xt_match *match, void *matchinfo, |
562 | unsigned int matchsize) | 562 | unsigned int matchsize) |
563 | { | 563 | { |
564 | struct ipt_hashlimit_info *r = (struct ipt_hashlimit_info *) matchinfo; | 564 | struct ipt_hashlimit_info *r = matchinfo; |
565 | 565 | ||
566 | htable_put(r->hinfo); | 566 | htable_put(r->hinfo); |
567 | } | 567 | } |