diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-06-30 23:57:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-07-01 04:44:57 +0200 |
commit | 78f444f6736ed9a264fc3e801ca620daee4d5d9f (patch) | |
tree | f907b7dbf824ad5db7078893253424280ccc04d8 /fs | |
parent | fs/adfs: remove unneeded cast (diff) | |
download | linux-78f444f6736ed9a264fc3e801ca620daee4d5d9f.tar.xz linux-78f444f6736ed9a264fc3e801ca620daee4d5d9f.zip |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/affs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/affs/inode.c b/fs/affs/inode.c index a022f4accd76..17349500592d 100644 --- a/fs/affs/inode.c +++ b/fs/affs/inode.c @@ -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; |