diff options
author | Xu Wang <vulab@iscas.ac.cn> | 2020-07-09 07:40:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-10 15:07:56 +0200 |
commit | c80a67bd5d13e691f730115615885736acc5f1a7 (patch) | |
tree | 7ddeb0462cc7240b39fe4232a73613eccf11308f /fs | |
parent | drivers/base/memory: rename base_memory_block_id to memory_block_id (diff) | |
download | linux-c80a67bd5d13e691f730115615885736acc5f1a7.tar.xz linux-c80a67bd5d13e691f730115615885736acc5f1a7.zip |
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.c | 2 |
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; } |