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>
This commit is contained in:
parent
78f444f673
commit
4709187ef2
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user