diff options
Diffstat (limited to 'e2fsprogs/fsck.c')
-rw-r--r-- | e2fsprogs/fsck.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index adf34c44d..54e8597d4 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c | |||
@@ -135,12 +135,6 @@ static char *base_device(const char *device) | |||
135 | goto errout; | 135 | goto errout; |
136 | cp += 5; | 136 | cp += 5; |
137 | 137 | ||
138 | #if 0 /* this is for old stuff no one uses anymore ? */ | ||
139 | /* Skip over /dev/dsk/... */ | ||
140 | if (strncmp(cp, "dsk/", 4) == 0) | ||
141 | cp += 4; | ||
142 | #endif | ||
143 | |||
144 | /* | 138 | /* |
145 | * For md devices, we treat them all as if they were all | 139 | * For md devices, we treat them all as if they were all |
146 | * on one disk, since we don't know how to parallelize them. | 140 | * on one disk, since we don't know how to parallelize them. |
@@ -918,9 +912,6 @@ static void compile_fs_type(char *fs_type, struct fs_type_compile *cmp) | |||
918 | bb_error_msg_and_die("%s", fs_type_syntax_error); | 912 | bb_error_msg_and_die("%s", fs_type_syntax_error); |
919 | } | 913 | } |
920 | } | 914 | } |
921 | #if 0 | ||
922 | printf("Adding %s to list (type %d).\n", s, cmp->type[num]); | ||
923 | #endif | ||
924 | cmp->list[num++] = string_copy(s); | 915 | cmp->list[num++] = string_copy(s); |
925 | s = strtok(NULL, ","); | 916 | s = strtok(NULL, ","); |
926 | } | 917 | } |