aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libdisk/create_chunk.c4
-rw-r--r--lib/libdisk/disk.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index 929266477fe1..52734281266c 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -279,9 +279,7 @@ MakeDev(struct chunk *c1, const char *path)
if (!strcmp(p, "X"))
return 0;
- if (!strncmp(p, "wd", 2))
- cmaj = 3, p += 2;
- else if (!strncmp(p, "ad", 2))
+ if (!strncmp(p, "ad", 2))
cmaj = 116, p += 2;
else if (!strncmp(p, "wfd", 3))
cmaj = 87, p += 3;
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 396dcfe3a1e6..b05571c47d9f 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -441,7 +441,7 @@ Collapse_Disk(struct disk *d)
}
#endif
-static char * device_list[] = {"wd", "ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "fd", 0};
+static char * device_list[] = {"ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "fd", 0};
char **
Disk_Names()