[NETFILTER]: x_tables: remove some unnecessary casts

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Patrick McHardy
2006-05-29 18:19:19 -07:00
committed by David S. Miller
parent 73654d61e5
commit 3e72b2fe5b
6 changed files with 6 additions and 9 deletions

View File

@@ -561,7 +561,7 @@ static void
hashlimit_destroy(const struct xt_match *match, void *matchinfo,
unsigned int matchsize)
{
struct ipt_hashlimit_info *r = (struct ipt_hashlimit_info *) matchinfo;
struct ipt_hashlimit_info *r = matchinfo;
htable_put(r->hinfo);
}