Skip to content

Commit 78f647c

Browse files
salah-trikiluisbg
authored andcommitted
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>
1 parent 2ac636b commit 78f647c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/befs/io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct buffer_head *
2727
befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr)
2828
{
2929
struct buffer_head *bh;
30-
befs_blocknr_t block = 0;
30+
befs_blocknr_t block;
3131
struct befs_sb_info *befs_sb = BEFS_SB(sb);
3232

3333
befs_debug(sb, "---> Enter %s "

0 commit comments

Comments
 (0)