From: Salah Triki <salah.triki@xxxxxxx> Subject: fs/befs/linuxvfs.c:befs_iget(): remove unneeded initialization to NULL bh is reinitialized by befs_bread() so no need to init it with NULL in the beginning of befs_iget() Link: http://lkml.kernel.org/r/38d62b1469bc3b316ba6b81fd8e26fc66fdd713b.1462842886.git.salah.triki@xxxxxxx Signed-off-by: Salah Triki <salah.triki@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/befs/linuxvfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/befs/linuxvfs.c~fs-befs-linuxvfsc-befs_iget-remove-unneeded-initialization-to-null fs/befs/linuxvfs.c --- a/fs/befs/linuxvfs.c~fs-befs-linuxvfsc-befs_iget-remove-unneeded-initialization-to-null +++ a/fs/befs/linuxvfs.c @@ -294,7 +294,7 @@ static void init_once(void *foo) static struct inode *befs_iget(struct super_block *sb, unsigned long ino) { - struct buffer_head *bh = NULL; + struct buffer_head *bh; befs_inode *raw_inode = NULL; struct befs_sb_info *befs_sb = BEFS_SB(sb); struct befs_inode_info *befs_ino = NULL; _ -- 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