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:
178bdbe
)
debugfs: file: Remove unnecessary cast in kfree()
author
Xu Wang
<vulab@iscas.ac.cn>
Thu, 9 Jul 2020 05:40:33 +0000
(
05:40
+0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 10 Jul 2020 13:07:56 +0000
(15:07 +0200)
Remove unnecassary casts in the argument to kfree.
Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Link:
https://lore.kernel.org/r/20200709054033.30148-1-vulab@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/file.c
patch
|
blob
|
history
diff --git
a/fs/debugfs/file.c
b/fs/debugfs/file.c
index ae49a55bda001bbe3877c0256cfaac6e51d92c13..3753c4c484fca8110847100c74e0a590bb5232fb 100644
(file)
--- a/
fs/debugfs/file.c
+++ b/
fs/debugfs/file.c
@@
-273,7
+273,7
@@
static int full_proxy_release(struct inode *inode, struct file *filp)
r = real_fops->release(inode, filp);
replace_fops(filp, d_inode(dentry)->i_fop);
- kfree(
(void *)
proxy_fops);
+ kfree(proxy_fops);
fops_put(real_fops);
return r;
}