Explorar o código

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 %!s(int64=17) %!d(string=hai) anos
pai
achega
a4e49cb69e
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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)