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>
This commit is contained in:
parent
178bdbed3e
commit
c80a67bd5d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue