提交 a4e49cb6 编写于 作者: T Tero Roponen 提交者: Jiri Kosina

trivial: remove unused variable 'path' in alloc_file()

'struct path' is not used in alloc_file().
Signed-off-by: NTero Roponen <tero.roponen@gmail.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 3e3cb64f
...@@ -169,7 +169,6 @@ struct file *alloc_file(struct vfsmount *mnt, struct dentry *dentry, ...@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册