diff options
author | Theodore Ts'o <tytso@mit.edu> | 2006-06-25 08:47:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:07 -0400 |
commit | f16fdadba28add689b567cf03c21dd6dec8e43be (patch) | |
tree | 2beb4c826cb075f9569e709238ea13ceda5e9984 | |
parent | fcd5df35882b128ef3e160fab3074e6fe7ae501b (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.c | 1 |
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) | |||
854 | } | 854 | } |
855 | if (!ext2_check_descriptors (sb)) { | 855 | if (!ext2_check_descriptors (sb)) { |
856 | printk ("EXT2-fs: group descriptors corrupted!\n"); | 856 | printk ("EXT2-fs: group descriptors corrupted!\n"); |
857 | db_count = i; | ||
858 | goto failed_mount2; | 857 | goto failed_mount2; |
859 | } | 858 | } |
860 | sbi->s_gdb_count = db_count; | 859 | sbi->s_gdb_count = db_count; |