From: Fabian Frederick <fabf@skynet.be>
Date: Mon, 13 Oct 2014 22:53:52 +0000 (-0700)
Subject: fs/affs/inode.c: remove unused variable
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3bc759931d271dbe9c4156105173b81ecb35177c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git

fs/affs/inode.c: remove unused variable

head is set to AFFS_HEAD(bh) but never used.

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>
---

diff --git a/fs/affs/inode.c b/fs/affs/inode.c
index bec2d1a0c91c..930aac3669d6 100644
--- a/fs/affs/inode.c
+++ b/fs/affs/inode.c
@@ -20,7 +20,6 @@ struct inode *affs_iget(struct super_block *sb, unsigned long ino)
 {
 	struct affs_sb_info	*sbi = AFFS_SB(sb);
 	struct buffer_head	*bh;
-	struct affs_head	*head;
 	struct affs_tail	*tail;
 	struct inode		*inode;
 	u32			 block;
@@ -49,7 +48,6 @@ struct inode *affs_iget(struct super_block *sb, unsigned long ino)
 		goto bad_inode;
 	}
 
-	head = AFFS_HEAD(bh);
 	tail = AFFS_TAIL(sb, bh);
 	prot = be32_to_cpu(tail->protect);