Commit f16fdadb authored by Theodore Ts'o's avatar Theodore Ts'o Committed by Linus Torvalds

[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: default avatar"Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fcd5df35
...@@ -854,7 +854,6 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent) ...@@ -854,7 +854,6 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent)
} }
if (!ext2_check_descriptors (sb)) { if (!ext2_check_descriptors (sb)) {
printk ("EXT2-fs: group descriptors corrupted!\n"); printk ("EXT2-fs: group descriptors corrupted!\n");
db_count = i;
goto failed_mount2; goto failed_mount2;
} }
sbi->s_gdb_count = db_count; sbi->s_gdb_count = db_count;
......
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