summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorXu Wang <vulab@iscas.ac.cn>2020-04-23 13:43:13 +0800
committerDavid S. Miller <davem@davemloft.net>2020-04-23 15:50:50 -0700
commit3c9143d96852485725d330b9164062d8f2d90a38 (patch)
tree79c8447e032b2f03765a2e50abc2690c53a18ff2 /net/sched
parent92a8da46462ecf8141a5a0055be98370dcfdea2c (diff)
downloadlinux-3c9143d96852485725d330b9164062d8f2d90a38.tar.bz2
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')
-rw-r--r--net/sched/em_ipt.c2
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,