Messages in this thread Patch in this message | | | Subject | [PATCH] Cleanup dead code from ext2 mount code | From | "Theodore Ts'o" <> | Date | Sun, 21 May 2006 19:07:41 -0400 |
| |
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>
Index: linux-2.6/fs/ext2/super.c =================================================================== --- linux-2.6.orig/fs/ext2/super.c 2006-05-21 18:39:27.000000000 -0400 +++ linux-2.6/fs/ext2/super.c 2006-05-21 18:39:29.000000000 -0400 @@ -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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |