Squashfs: remove redundant length initialisation in squashfs_lookup
authorPhillip Lougher <phillip@squashfs.org.uk>
Wed, 7 Mar 2012 21:21:07 +0000 (21:21 +0000)
committerPhillip Lougher <phillip@squashfs.org.uk>
Sat, 10 Mar 2012 03:01:01 +0000 (03:01 +0000)
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
fs/squashfs/namei.c

index 66c70fc8c80bf40343377a1efc2240a3a25f2d54..abcc58f3c15266dd24b9533b4b1103d3514a0c3e 100644 (file)
@@ -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);
 
This page took 0.024868 seconds and 5 git commands to generate.