aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorTero Roponen <tero.roponen@gmail.com>2009-03-08 09:29:31 -0400
committerJiri Kosina <jkosina@suse.cz>2009-03-30 09:22:03 -0400
commita4e49cb69e7dc87359bbdf1613d1ed872b9c9ebe (patch)
tree7c073b36a601e051f3f6cbb2d11cfe1040a43301 /fs/file_table.c
parent3e3cb64f6c306079dd8fa888c6c0a63e7e13f966 (diff)
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>
Diffstat (limited to 'fs/file_table.c')
-rw-r--r--fs/file_table.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/file_table.c b/fs/file_table.c
index b74a8e1da913..54018fe48840 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -169,7 +169,6 @@ struct file *alloc_file(struct vfsmount *mnt, struct dentry *dentry,
169 fmode_t mode, const struct file_operations *fop) 169 fmode_t mode, const struct file_operations *fop)
170{ 170{
171 struct file *file; 171 struct file *file;
172 struct path;
173 172
174 file = get_empty_filp(); 173 file = get_empty_filp();
175 if (!file) 174 if (!file)