Browse Source

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>
Tero Roponen 17 năm trước cách đây
mục cha
commit
a4e49cb69e
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      fs/file_table.c

+ 0 - 1
fs/file_table.c

@@ -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)