From: Fabian Frederick Date: Tue, 30 Jun 2015 21:57:58 +0000 (-0700) Subject: fs/affs/amigaffs.c: remove unneeded initialization X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4709187ef2412419bea366bebc0a541dbd620b3c;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git fs/affs/amigaffs.c: remove unneeded initialization bh is initialized unconditionally in affs_remove_link() Signed-off-by: Fabian Frederick Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/affs/amigaffs.c b/fs/affs/amigaffs.c index a8f463c028ce..5fa92bc790ef 100644 --- a/fs/affs/amigaffs.c +++ b/fs/affs/amigaffs.c @@ -140,7 +140,7 @@ affs_remove_link(struct dentry *dentry) { struct inode *dir, *inode = d_inode(dentry); struct super_block *sb = inode->i_sb; - struct buffer_head *bh = NULL, *link_bh = NULL; + struct buffer_head *bh, *link_bh = NULL; u32 link_ino, ino; int retval;