Skip to content

Commit 78f444f

Browse files
Fabian Fredericktorvalds
authored andcommitted
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>
1 parent d96f184 commit 78f444f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/affs/inode.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s3
346346
{
347347
struct super_block *sb = dir->i_sb;
348348
struct buffer_head *inode_bh = NULL;
349-
struct buffer_head *bh = NULL;
349+
struct buffer_head *bh;
350350
u32 block = 0;
351351
int retval;
352352

0 commit comments

Comments
 (0)