net: sched : Remove unnecessary cast in kfree
Remove unnecassary casts in the argument to kfree. Signed-off-by: Xu Wang <vulab@iscas.ac.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
92a8da4646
commit
3c9143d968
@ -199,7 +199,7 @@ static void em_ipt_destroy(struct tcf_ematch *em)
|
||||
im->match->destroy(&par);
|
||||
}
|
||||
module_put(im->match->me);
|
||||
kfree((void *)im);
|
||||
kfree(im);
|
||||
}
|
||||
|
||||
static int em_ipt_match(struct sk_buff *skb, struct tcf_ematch *em,
|
||||
|
Loading…
Reference in New Issue
Block a user