diff options
author | Xu Wang <vulab@iscas.ac.cn> | 2020-04-23 08:43:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-24 01:50:50 +0300 |
commit | 3c9143d96852485725d330b9164062d8f2d90a38 (patch) | |
tree | 79c8447e032b2f03765a2e50abc2690c53a18ff2 /net/sched/em_ipt.c | |
parent | 92a8da46462ecf8141a5a0055be98370dcfdea2c (diff) | |
download | linux-3c9143d96852485725d330b9164062d8f2d90a38.tar.xz |
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>
Diffstat (limited to 'net/sched/em_ipt.c')
-rw-r--r-- | net/sched/em_ipt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/em_ipt.c b/net/sched/em_ipt.c index eecfe072c508..18755d29fd15 100644 --- a/net/sched/em_ipt.c +++ b/net/sched/em_ipt.c @@ -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, |