Skip to content
Snippets Groups Projects
Commit 78f444f6 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

fs/affs/inode.c: remove unneeded initialization


bh is initialized unconditionally in affs_add_entry()

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 d96f1845
No related branches found
No related tags found
No related merge requests found
...@@ -346,7 +346,7 @@ affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s3 ...@@ -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 super_block *sb = dir->i_sb;
struct buffer_head *inode_bh = NULL; struct buffer_head *inode_bh = NULL;
struct buffer_head *bh = NULL; struct buffer_head *bh;
u32 block = 0; u32 block = 0;
int retval; int retval;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment