* [PATCH] Cleanup dead code from ext2 mount code
@ 2006-05-21 23:07 Theodore Ts'o
0 siblings, 0 replies; only message in thread
From: Theodore Ts'o @ 2006-05-21 23:07 UTC (permalink / raw)
To: ext2-devel; +Cc: linux-kernel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-22 10:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-21 23:07 [PATCH] Cleanup dead code from ext2 mount code Theodore Ts'o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®