x86/nmi: Fix use of unallocated cpumask_var_t
[cascardo/linux.git] / fs / affs / inode.c
index bec2d1a..e217c51 100644 (file)
 #include "affs.h"
 
 extern const struct inode_operations affs_symlink_inode_operations;
-extern struct timezone sys_tz;
 
 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 +47,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);