summaryrefslogtreecommitdiffstats
path: root/fs/affs
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-06-30 23:57:58 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-07-01 04:44:57 +0200
commit4709187ef2412419bea366bebc0a541dbd620b3c (patch)
treeeaa1f179033684614c2338b954145781a754431a /fs/affs
parentfs/affs/inode.c: remove unneeded initialization (diff)
downloadlinux-4709187ef2412419bea366bebc0a541dbd620b3c.tar.xz
linux-4709187ef2412419bea366bebc0a541dbd620b3c.zip
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/affs')
-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;