Skip to content

Commit

Permalink
fs/befs/datastream.c:befs_read_datastream(): remove unneeded initiali…
Browse files Browse the repository at this point in the history
…zation to NULL

bh is reinitialized by befs_bread_iaddr() so no need to init it
with NULL in the beginning of befs_read_datastream().

Link: http://lkml.kernel.org/r/81e1f70187db34d195c8e42b1ff78be6a71c0060.1462649034.git.salah.triki@acm.org
Signed-off-by: Salah Triki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
salah-triki authored and torvalds committed May 24, 2016
1 parent 1383399 commit ff2fe0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/befs/datastream.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct buffer_head *
befs_read_datastream(struct super_block *sb, const befs_data_stream *ds,
befs_off_t pos, uint * off)
{
struct buffer_head *bh = NULL;
struct buffer_head *bh;
befs_block_run run;
befs_blocknr_t block; /* block coresponding to pos */

Expand Down

0 comments on commit ff2fe0a

Please sign in to comment.