Cleanup dead code from ext2 mount code
PATCH 1/1 Cleanup dead code from ext2 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" <[email protected]>
fs/ext2/super.c +0 -1
@@ -857,7 +857,6 @@ }if (!ext2_check_descriptors (sb)) {printk ("EXT2-fs: group descriptors corrupted!\n" ); - db_count = i; goto failed_mount2; } sbi->s_gdb_count = db_count;