[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:
committed by
David S. Miller
parent
73654d61e5
commit
3e72b2fe5b
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user