Commit 4709187e authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

fs/affs/amigaffs.c: remove unneeded initialization

bh is initialized unconditionally in affs_remove_link()
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 78f444f6
...@@ -140,7 +140,7 @@ affs_remove_link(struct dentry *dentry) ...@@ -140,7 +140,7 @@ affs_remove_link(struct dentry *dentry)
{ {
struct inode *dir, *inode = d_inode(dentry); struct inode *dir, *inode = d_inode(dentry);
struct super_block *sb = inode->i_sb; 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; u32 link_ino, ino;
int retval; int retval;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment