[PATCH] ext2: clean up dead code from mount code
The variable i is guaranteed to be the same as db_count given the previous for loop. So get rid of it since it's dead code. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
fcd5df3588
commit
f16fdadba2
|
@ -854,7 +854,6 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent)
|
|||
}
|
||||
if (!ext2_check_descriptors (sb)) {
|
||||
printk ("EXT2-fs: group descriptors corrupted!\n");
|
||||
db_count = i;
|
||||
goto failed_mount2;
|
||||
}
|
||||
sbi->s_gdb_count = db_count;
|
||||
|
|
Loading…
Reference in New Issue