提交 3bc75993 编写于 作者: F Fabian Frederick 提交者: Linus Torvalds

fs/affs/inode.c: remove unused variable

head is set to AFFS_HEAD(bh) but never used.
Signed-off-by: NFabian Frederick <fabf@skynet.be>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 1e907f4f
...@@ -20,7 +20,6 @@ struct inode *affs_iget(struct super_block *sb, unsigned long ino) ...@@ -20,7 +20,6 @@ struct inode *affs_iget(struct super_block *sb, unsigned long ino)
{ {
struct affs_sb_info *sbi = AFFS_SB(sb); struct affs_sb_info *sbi = AFFS_SB(sb);
struct buffer_head *bh; struct buffer_head *bh;
struct affs_head *head;
struct affs_tail *tail; struct affs_tail *tail;
struct inode *inode; struct inode *inode;
u32 block; u32 block;
...@@ -49,7 +48,6 @@ struct inode *affs_iget(struct super_block *sb, unsigned long ino) ...@@ -49,7 +48,6 @@ struct inode *affs_iget(struct super_block *sb, unsigned long ino)
goto bad_inode; goto bad_inode;
} }
head = AFFS_HEAD(bh);
tail = AFFS_TAIL(sb, bh); tail = AFFS_TAIL(sb, bh);
prot = be32_to_cpu(tail->protect); prot = be32_to_cpu(tail->protect);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册