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:
Xu Wang 2020-04-23 13:43:13 +08:00 committed by David S. Miller
parent 92a8da4646
commit 3c9143d968

View File

@ -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,