mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08: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)
|
||||
{
|
||||
struct file *file;
|
||||
struct path;
|
||||
|
||||
file = get_empty_filp();
|
||||
if (!file)
|
||||
|
Loading…
Reference in New Issue
Block a user