From 78f647c27f17b10bd7e1ce5d66a3755b1848efa5 Mon Sep 17 00:00:00 2001 From: Salah Triki Date: Thu, 11 Aug 2016 12:04:52 +0100 Subject: befs: remove unnecessary initialization There is no need to init block, since it will be overwitten later by iaddr2blockno(). Signed-off-by: Salah Triki Signed-off-by: Luis de Bethencourt --- fs/befs/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/befs') diff --git a/fs/befs/io.c b/fs/befs/io.c index 4223b779fcc4..b4a558126ee1 100644 --- a/fs/befs/io.c +++ b/fs/befs/io.c @@ -27,7 +27,7 @@ struct buffer_head * befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr) { struct buffer_head *bh; - befs_blocknr_t block = 0; + befs_blocknr_t block; struct befs_sb_info *befs_sb = BEFS_SB(sb); befs_debug(sb, "---> Enter %s " -- cgit v1.2.3