Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tero Roponen and committed by
Jiri Kosina
a4e49cb6 3e3cb64f

-1
-1
fs/file_table.c
··· 169 169 fmode_t mode, const struct file_operations *fop) 170 170 { 171 171 struct file *file; 172 - struct path; 173 172 174 173 file = get_empty_filp(); 175 174 if (!file)