Skip to content

Commit

Permalink
befs: remove unnecessary initialization
Browse files Browse the repository at this point in the history
There is no need to init block, since it will be overwitten later by
iaddr2blockno().

Signed-off-by: Salah Triki <[email protected]>
Signed-off-by: Luis de Bethencourt <[email protected]>
  • Loading branch information
salah-triki authored and luisbg committed Oct 8, 2016
1 parent 2ac636b commit 78f647c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/befs/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 78f647c

Please sign in to comment.