diff options
author | Tero Roponen <tero.roponen@gmail.com> | 2009-03-08 15:29:31 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-03-30 15:22:03 +0200 |
commit | a4e49cb69e7dc87359bbdf1613d1ed872b9c9ebe (patch) | |
tree | 7c073b36a601e051f3f6cbb2d11cfe1040a43301 | |
parent | 3e3cb64f6c306079dd8fa888c6c0a63e7e13f966 (diff) | |
download | lwn-a4e49cb69e7dc87359bbdf1613d1ed872b9c9ebe.tar.gz lwn-a4e49cb69e7dc87359bbdf1613d1ed872b9c9ebe.zip |
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>
-rw-r--r-- | fs/file_table.c | 1 |
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, fmode_t mode, const struct file_operations *fop) { struct file *file; - struct path; file = get_empty_filp(); if (!file) |