提交 4709187e 编写于 作者: F Fabian Frederick 提交者: Linus Torvalds

fs/affs/amigaffs.c: remove unneeded initialization

bh is initialized unconditionally in affs_remove_link()
Signed-off-by: NFabian Frederick <fabf@skynet.be>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 78f444f6
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册