diff options
author | Phillip Lougher <phillip@squashfs.org.uk> | 2012-03-07 16:21:07 -0500 |
---|---|---|
committer | Phillip Lougher <phillip@squashfs.org.uk> | 2012-03-09 22:01:01 -0500 |
commit | bd3a518948a9b5fa869d096cd9bc062e0320449f (patch) | |
tree | 230b2166e71815510839b7b63e7f9465a48f9d30 /fs/squashfs | |
parent | 68a8c397bf1bc16640e87d229025ffd4e4b54e6c (diff) |
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.c | 2 |
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, | |||
144 | struct squashfs_dir_entry *dire; | 144 | struct squashfs_dir_entry *dire; |
145 | u64 block = squashfs_i(dir)->start + msblk->directory_table; | 145 | u64 block = squashfs_i(dir)->start + msblk->directory_table; |
146 | int offset = squashfs_i(dir)->offset; | 146 | int offset = squashfs_i(dir)->offset; |
147 | int err, length = 0, dir_count, size; | 147 | int err, length, dir_count, size; |
148 | 148 | ||
149 | TRACE("Entered squashfs_lookup [%llx:%x]\n", block, offset); | 149 | TRACE("Entered squashfs_lookup [%llx:%x]\n", block, offset); |
150 | 150 | ||