From bd3a518948a9b5fa869d096cd9bc062e0320449f Mon Sep 17 00:00:00 2001 From: Phillip Lougher Date: Wed, 7 Mar 2012 21:21:07 +0000 Subject: Squashfs: remove redundant length initialisation in squashfs_lookup Signed-off-by: Phillip Lougher --- fs/squashfs/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/squashfs') 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); -- cgit v1.2.3-59-g8ed1b