aboutsummaryrefslogtreecommitdiffstats
path: root/fs/affs/inode.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-13 18:53:52 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-13 20:18:22 -0400
commit3bc759931d271dbe9c4156105173b81ecb35177c (patch)
treed6d6021c3eeafcbe003430fe3b0209e517ac2200 /fs/affs/inode.c
parent1e907f4f116dd94dcc751bc0a053acd29728cc95 (diff)
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>
Diffstat (limited to 'fs/affs/inode.c')
-rw-r--r--fs/affs/inode.c2
1 files changed, 0 insertions, 2 deletions
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)
20{ 20{
21 struct affs_sb_info *sbi = AFFS_SB(sb); 21 struct affs_sb_info *sbi = AFFS_SB(sb);
22 struct buffer_head *bh; 22 struct buffer_head *bh;
23 struct affs_head *head;
24 struct affs_tail *tail; 23 struct affs_tail *tail;
25 struct inode *inode; 24 struct inode *inode;
26 u32 block; 25 u32 block;
@@ -49,7 +48,6 @@ struct inode *affs_iget(struct super_block *sb, unsigned long ino)
49 goto bad_inode; 48 goto bad_inode;
50 } 49 }
51 50
52 head = AFFS_HEAD(bh);
53 tail = AFFS_TAIL(sb, bh); 51 tail = AFFS_TAIL(sb, bh);
54 prot = be32_to_cpu(tail->protect); 52 prot = be32_to_cpu(tail->protect);
55 53