From: Artem Bityutskiy Date: Tue, 10 Jan 2012 13:32:29 +0000 (+0200) Subject: jffs2: do not initialize variable unnecessarily X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bce41d601e58af12cee1398fe836e6b9a8fb5396;p=mv-sheeva.git jffs2: do not initialize variable unnecessarily Remove unnecessary initializer for a local variable. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- diff --git a/fs/jffs2/erase.c b/fs/jffs2/erase.c index a01cdad6aad..eafb8d37a6f 100644 --- 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,