summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-07-01 00:57:58 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-07-01 05:44:57 +0300
commit4709187ef2412419bea366bebc0a541dbd620b3c (patch)
treeeaa1f179033684614c2338b954145781a754431a /fs
parent78f444f6736ed9a264fc3e801ca620daee4d5d9f (diff)
downloadlinux-4709187ef2412419bea366bebc0a541dbd620b3c.tar.xz
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/affs/amigaffs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/affs/amigaffs.c b/fs/affs/amigaffs.c
index a8f463c028ce..5fa92bc790ef 100644
--- a/fs/affs/amigaffs.c
+++ b/fs/affs/amigaffs.c
@@ -140,7 +140,7 @@ affs_remove_link(struct dentry *dentry)
{
struct inode *dir, *inode = d_inode(dentry);
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;
int retval;