1
0
Fork 0

befs: remove unnecessary initialization

There is no need to init block, since it will be overwitten later by
iaddr2blockno().

Signed-off-by: Salah Triki <salah.triki@gmail.com>
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
hifive-unleashed-5.1
Salah Triki 2016-08-11 12:04:52 +01:00 committed by Luis de Bethencourt
parent 2ac636b4d0
commit 78f647c27f
1 changed files with 1 additions and 1 deletions

View File

@ -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 "