From: "Theodore Ts'o" 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" Signed-off-by: Andrew Morton --- fs/ext2/super.c | 1 - 1 file changed, 1 deletion(-) diff -puN fs/ext2/super.c~cleanup-dead-code-from-ext2-mount-code fs/ext2/super.c --- devel/fs/ext2/super.c~cleanup-dead-code-from-ext2-mount-code 2006-06-09 15:18:02.000000000 -0700 +++ devel-akpm/fs/ext2/super.c 2006-06-09 15:18:02.000000000 -0700 @@ -854,7 +854,6 @@ static int ext2_fill_super(struct super_ } if (!ext2_check_descriptors (sb)) { printk ("EXT2-fs: group descriptors corrupted!\n"); - db_count = i; goto failed_mount2; } sbi->s_gdb_count = db_count; _