trivial: remove unused variable 'path' in alloc_file()
authorTero Roponen <tero.roponen@gmail.com>
Sun, 8 Mar 2009 13:29:31 +0000 (15:29 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 30 Mar 2009 13:22:03 +0000 (15:22 +0200)
'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>
fs/file_table.c

index b74a8e1..54018fe 100644 (file)
@@ -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)