Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fs/affs/inode.c: remove unneeded initialization

bh is initialized unconditionally in affs_add_entry()

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Fabian Frederick and committed by
Linus Torvalds
78f444f6 d96f1845

+1 -1
+1 -1
fs/affs/inode.c
··· 346 346 { 347 347 struct super_block *sb = dir->i_sb; 348 348 struct buffer_head *inode_bh = NULL; 349 - struct buffer_head *bh = NULL; 349 + struct buffer_head *bh; 350 350 u32 block = 0; 351 351 int retval; 352 352