Skip to content

Commit

Permalink
trivial: remove unused variable 'path' in alloc_file()
Browse files Browse the repository at this point in the history
'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>
  • Loading branch information
Tero Roponen authored and Jiri Kosina committed Mar 30, 2009
1 parent 3e3cb64 commit a4e49cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/file_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a4e49cb

Please sign in to comment.