mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
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>
This commit is contained in:
parent
1e907f4f11
commit
3bc759931d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user