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

fs/affs/amigaffs.c: remove unneeded initialization

bh is initialized unconditionally in affs_remove_link()

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
4709187e 78f444f6

+1 -1
+1 -1
fs/affs/amigaffs.c
··· 140 140 { 141 141 struct inode *dir, *inode = d_inode(dentry); 142 142 struct super_block *sb = inode->i_sb; 143 - struct buffer_head *bh = NULL, *link_bh = NULL; 143 + struct buffer_head *bh, *link_bh = NULL; 144 144 u32 link_ino, ino; 145 145 int retval; 146 146