summaryrefslogtreecommitdiff
path: root/fs/affs
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-14 02:53:52 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-14 04:18:22 +0400
commit3bc759931d271dbe9c4156105173b81ecb35177c (patch)
treed6d6021c3eeafcbe003430fe3b0209e517ac2200 /fs/affs
parent1e907f4f116dd94dcc751bc0a053acd29728cc95 (diff)
downloadlinux-3bc759931d271dbe9c4156105173b81ecb35177c.tar.xz
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')
-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);