projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9398d1c
)
jffs2: do not initialize variable unnecessarily
author
Artem Bityutskiy
<artem.bityutskiy@linux.intel.com>
Tue, 10 Jan 2012 13:32:29 +0000
(15:32 +0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 11 Jan 2012 09:53:51 +0000
(09:53 +0000)
Remove unnecessary initializer for a local variable.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
fs/jffs2/erase.c
patch
|
blob
|
history
diff --git
a/fs/jffs2/erase.c
b/fs/jffs2/erase.c
index a01cdad6aad1810f0323d6494865f7540d50421c..eafb8d37a6fb89173d26ecf527a3f69433a2565f 100644
(file)
--- a/
fs/jffs2/erase.c
+++ b/
fs/jffs2/erase.c
@@
-335,7
+335,7
@@
static int jffs2_block_check_erase(struct jffs2_sb_info *c, struct jffs2_erasebl
void *ebuf;
uint32_t ofs;
size_t retlen;
- int ret
= -EIO
;
+ int ret;
unsigned long *wordebuf;
ret = mtd_point(c->mtd, jeb->offset, c->sector_size, &retlen,