mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
Squashfs: remove redundant length initialisation in squashfs_lookup
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
This commit is contained in:
parent
68a8c397bf
commit
bd3a518948
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ static struct dentry *squashfs_lookup(struct inode *dir, struct dentry *dentry,
|
||||||
struct squashfs_dir_entry *dire;
|
struct squashfs_dir_entry *dire;
|
||||||
u64 block = squashfs_i(dir)->start + msblk->directory_table;
|
u64 block = squashfs_i(dir)->start + msblk->directory_table;
|
||||||
int offset = squashfs_i(dir)->offset;
|
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);
|
TRACE("Entered squashfs_lookup [%llx:%x]\n", block, offset);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue