summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTero Roponen <tero.roponen@gmail.com>2009-03-08 14:29:31 +0100
committerJiri Kosina <jkosina@suse.cz>2009-03-30 15:22:03 +0200
commita4e49cb69e7dc87359bbdf1613d1ed872b9c9ebe (patch)
tree7c073b36a601e051f3f6cbb2d11cfe1040a43301 /fs
parenttrivial: fix a pdlfush -> pdflush typo in comment (diff)
downloadlinux-a4e49cb69e7dc87359bbdf1613d1ed872b9c9ebe.tar.xz
linux-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')
-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)