mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[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
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue