Skip to content

Commit

Permalink
jffs2: do not initialize variable unnecessarily
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Artem Bityutskiy authored and David Woodhouse committed Jan 11, 2012
1 parent 9398d1c commit bce41d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/jffs2/erase.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bce41d6

Please sign in to comment.