diff options
author | Salah Triki <salah.triki@acm.org> | 2016-05-24 02:22:43 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-24 03:04:14 +0300 |
commit | e4c7f5b10931595097815c9d36e041efb49a42c7 (patch) | |
tree | 03fb24a3088bf249537c75bc756ba670db43f171 /fs/befs/linuxvfs.c | |
parent | c940876368982afa9c5413f23bf70766dbfa8ac0 (diff) | |
download | linux-e4c7f5b10931595097815c9d36e041efb49a42c7.tar.xz |
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@acm.org
Signed-off-by: Salah Triki <salah.triki@acm.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/befs/linuxvfs.c')
-rw-r--r-- | fs/befs/linuxvfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index ed6e712d3972..410315400755 100644 --- a/fs/befs/linuxvfs.c +++ b/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; |