fs/befs/io.c:befs_bread(): remove unneeded initialization to NULL
PATCH 12/84 fs/befs/io.c:befs_bread(): remove unneeded initialization to NULL
From: Salah Triki <[email protected]>
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@acm.org open here
Signed-off-by Salah Triki <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/befs/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/befs/io.c renamed from fs/befs/io.c~fs-befs-ioc-befs_bread-remove-unneeded-initialization-to-null +1 -1
@@ -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);
_