projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcd5df3
)
[PATCH] ext2: clean up dead code from mount code
author
Theodore Ts'o
<tytso@mit.edu>
Sun, 25 Jun 2006 12:47:50 +0000
(
05:47
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:07 +0000
(10:01 -0700)
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>
fs/ext2/super.c
patch
|
blob
|
history
diff --git
a/fs/ext2/super.c
b/fs/ext2/super.c
index
ee4ba75
..
fec55ff
100644
(file)
--- 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;