mirror of https://gitee.com/openkylin/linux.git
fs/affs/inode.c: remove unneeded initialization
bh is initialized unconditionally in affs_add_entry() 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
d96f184532
commit
78f444f673
|
@ -346,7 +346,7 @@ affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s3
|
|||
{
|
||||
struct super_block *sb = dir->i_sb;
|
||||
struct buffer_head *inode_bh = NULL;
|
||||
struct buffer_head *bh = NULL;
|
||||
struct buffer_head *bh;
|
||||
u32 block = 0;
|
||||
int retval;
|
||||
|
||||
|
|
Loading…
Reference in New Issue