summaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorTero Roponen <tero.roponen@gmail.com>2009-03-08 15:29:31 +0200
committerJiri Kosina <jkosina@suse.cz>2009-03-30 15:22:03 +0200
commita4e49cb69e7dc87359bbdf1613d1ed872b9c9ebe (patch)
tree7c073b36a601e051f3f6cbb2d11cfe1040a43301 /fs/file_table.c
parent3e3cb64f6c306079dd8fa888c6c0a63e7e13f966 (diff)
downloadlinux-stable-a4e49cb69e7dc87359bbdf1613d1ed872b9c9ebe.tar.gz
linux-stable-a4e49cb69e7dc87359bbdf1613d1ed872b9c9ebe.tar.bz2
linux-stable-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>
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,
fmode_t mode, const struct file_operations *fop)
{
struct file *file;
- struct path;
file = get_empty_filp();
if (!file)