summaryrefslogtreecommitdiffstats
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
parent68a8c397bf1bc16640e87d229025ffd4e4b54e6c (diff)
downloadop-kernel-dev-bd3a518948a9b5fa869d096cd9bc062e0320449f.zip
op-kernel-dev-bd3a518948a9b5fa869d096cd9bc062e0320449f.tar.gz
Squashfs: remove redundant length initialisation in squashfs_lookup
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
-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 66c70fc..abcc58f 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);
OpenPOWER on IntegriCloud