summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorXu Wang <vulab@iscas.ac.cn>2020-07-09 05:40:33 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-10 15:07:56 +0200
commitc80a67bd5d13e691f730115615885736acc5f1a7 (patch)
tree7ddeb0462cc7240b39fe4232a73613eccf11308f /fs
parent178bdbed3e0cebb7c04e37695dfa638aa8dafed3 (diff)
debugfs: file: Remove unnecessary cast in kfree()
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/debugfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c
index ae49a55bda00..3753c4c484fc 100644
--- 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;
}