projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92a8da4
)
net: sched : Remove unnecessary cast in kfree
author
Xu Wang
<vulab@iscas.ac.cn>
Thu, 23 Apr 2020 05:43:13 +0000
(13:43 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 23 Apr 2020 22:50:50 +0000
(15:50 -0700)
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>
net/sched/em_ipt.c
patch
|
blob
|
history
diff --git
a/net/sched/em_ipt.c
b/net/sched/em_ipt.c
index eecfe072c508ec34b76254a54be41c5a25a7e9b2..18755d29fd1594040dfea24387be8b48c8350241 100644
(file)
--- 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,