Commit 1b4d4894 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] remove a dead variable from isofs

From: Christoph Hellwig <hch@lst.de>

From: Debian kernel package, author is probably Herbert Xu

 * Do not get seqno since we will not use it in fs/isofs/inode.c
parent ce683ef5
......@@ -1207,7 +1207,7 @@ static void isofs_read_inode(struct inode * inode)
struct iso_directory_record * tmpde = NULL;
unsigned int de_len;
unsigned long offset;
int volume_seq_no, i;
int i;
struct iso_inode_info *ei = ISOFS_I(inode);
bh = sb_bread(inode->i_sb, block);
......@@ -1348,9 +1348,6 @@ static void isofs_read_inode(struct inode * inode)
test_and_set_gid(&inode->i_gid, sbi->s_gid);
}
/* get the volume sequence number */
volume_seq_no = isonum_723 (de->volume_sequence_number) ;
/* Install the inode operations vector */
if (S_ISREG(inode->i_mode)) {
inode->i_fop = &generic_ro_fops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment