summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-09-24 20:29:53 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-09-24 20:29:53 +0000
commit44a237e87da7122754d9e3e4a49435b04f9adde9 (patch)
treea980818326551ee756c1ad975ada021ecbaab205 /lib
parent8be112a8f0b1f6a31ef3e529d9864953eb2385ee (diff)
Eliminate D_CHAIN, D_ECC and D_RAMDISK flags from disklabel. They were
not being used in the tree for anything obviously useful. Get it done early so we can find if there are non-obvious uses out there. ok deraadt@ beck@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/disklabel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c
index ad1acab9899..dc1adeff8fa 100644
--- a/lib/libc/gen/disklabel.c
+++ b/lib/libc/gen/disklabel.c
@@ -77,8 +77,6 @@ getdiskbyname(const char *name)
if (cgetstr(buf, "ty", &cq) > 0 && strcmp(cq, "removable") == 0)
dp->d_flags |= D_REMOVABLE;
- else if (cq && strcmp(cq, "simulated") == 0)
- dp->d_flags |= D_RAMDISK;
if (cgetcap(buf, "sf", ':') != NULL)
dp->d_flags |= D_BADSECT;