summaryrefslogtreecommitdiffstats
path: root/fs/squashfs
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2012-03-07 21:21:07 +0000
committerPhillip Lougher <phillip@squashfs.org.uk>2012-03-10 03:01:01 +0000
commitbd3a518948a9b5fa869d096cd9bc062e0320449f (patch)
tree230b2166e71815510839b7b63e7f9465a48f9d30 /fs/squashfs
parent68a8c397bf1bc16640e87d229025ffd4e4b54e6c (diff)
downloadlinux-stable-bd3a518948a9b5fa869d096cd9bc062e0320449f.tar.gz
linux-stable-bd3a518948a9b5fa869d096cd9bc062e0320449f.tar.bz2
linux-stable-bd3a518948a9b5fa869d096cd9bc062e0320449f.zip
Squashfs: remove redundant length initialisation in squashfs_lookup
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Diffstat (limited to 'fs/squashfs')
-rw-r--r--fs/squashfs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/squashfs/namei.c b/fs/squashfs/namei.c
index 66c70fc8c80b..abcc58f3c152 100644
--- a/fs/squashfs/namei.c
+++ b/fs/squashfs/namei.c
@@ -144,7 +144,7 @@ static struct dentry *squashfs_lookup(struct inode *dir, struct dentry *dentry,
struct squashfs_dir_entry *dire;
u64 block = squashfs_i(dir)->start + msblk->directory_table;
int offset = squashfs_i(dir)->offset;
- int err, length = 0, dir_count, size;
+ int err, length, dir_count, size;
TRACE("Entered squashfs_lookup [%llx:%x]\n", block, offset);