summaryrefslogtreecommitdiffstats
path: root/fs/affs/inode.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-13 15:53:52 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-14 02:18:22 +0200
commit3bc759931d271dbe9c4156105173b81ecb35177c (patch)
treed6d6021c3eeafcbe003430fe3b0209e517ac2200 /fs/affs/inode.c
parent1e907f4f116dd94dcc751bc0a053acd29728cc95 (diff)
downloadlinux-3bc759931d271dbe9c4156105173b81ecb35177c.tar.gz
linux-3bc759931d271dbe9c4156105173b81ecb35177c.tar.bz2
linux-3bc759931d271dbe9c4156105173b81ecb35177c.zip
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)
{
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);