summaryrefslogtreecommitdiffstats
path: root/fs
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
parent3e3cb64f6c306079dd8fa888c6c0a63e7e13f966 (diff)
downloadop-kernel-dev-a4e49cb69e7dc87359bbdf1613d1ed872b9c9ebe.zip
op-kernel-dev-a4e49cb69e7dc87359bbdf1613d1ed872b9c9ebe.tar.gz
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 b74a8e1..54018fe 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)
OpenPOWER on IntegriCloud