mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-02-25 22:26:40 +00:00
trivial: remove unused variable 'path' in alloc_file()
'struct path' is not used in alloc_file(). Signed-off-by: Tero Roponen <tero.roponen@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
3e3cb64f6c
commit
a4e49cb69e
@ -169,7 +169,6 @@ struct file *alloc_file(struct vfsmount *mnt, struct dentry *dentry,
|
|||||||
fmode_t mode, const struct file_operations *fop)
|
fmode_t mode, const struct file_operations *fop)
|
||||||
{
|
{
|
||||||
struct file *file;
|
struct file *file;
|
||||||
struct path;
|
|
||||||
|
|
||||||
file = get_empty_filp();
|
file = get_empty_filp();
|
||||||
if (!file)
|
if (!file)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user