From: Salah Triki <salah.triki@xxxxxxx> Subject: fs/befs/io.c:befs_bread(): remove unneeded initialization to NULL bh is reinitialized by sb_bread() so no need to init it with NULL in the beginning of befs_bread() Link: http://lkml.kernel.org/r/88481760b43226fac16adb1f1e68897e47d8235c.1462841692.git.salah.triki@xxxxxxx Signed-off-by: Salah Triki <salah.triki@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/befs/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/befs/io.c~fs-befs-ioc-befs_bread-remove-unneeded-initialization-to-null fs/befs/io.c --- a/fs/befs/io.c~fs-befs-ioc-befs_bread-remove-unneeded-initialization-to-null +++ a/fs/befs/io.c @@ -63,7 +63,7 @@ befs_bread_iaddr(struct super_block *sb, struct buffer_head * befs_bread(struct super_block *sb, befs_blocknr_t block) { - struct buffer_head *bh = NULL; + struct buffer_head *bh; befs_debug(sb, "---> Enter %s %lu", __func__, (unsigned long)block); _ -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html