projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68a8c39
)
Squashfs: remove redundant length initialisation in squashfs_lookup
author
Phillip Lougher
<phillip@squashfs.org.uk>
Wed, 7 Mar 2012 21:21:07 +0000
(21:21 +0000)
committer
Phillip 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
patch
|
blob
|
history
diff --git
a/fs/squashfs/namei.c
b/fs/squashfs/namei.c
index 66c70fc8c80bf40343377a1efc2240a3a25f2d54..abcc58f3c15266dd24b9533b4b1103d3514a0c3e 100644
(file)
--- 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);