summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2006-06-25 05:47:50 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 10:01:07 -0700
commitf16fdadba28add689b567cf03c21dd6dec8e43be (patch)
tree2beb4c826cb075f9569e709238ea13ceda5e9984
parentfcd5df35882b128ef3e160fab3074e6fe7ae501b (diff)
[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>
-rw-r--r--fs/ext2/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index ee4ba759581e..fec55ff23dea 100644
--- a/fs/ext2/super.c
+++ b/fs/ext2/super.c
@@ -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;