summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/disklabel.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c
index 117fce6cb63..cacde610389 100644
--- a/lib/libc/gen/disklabel.c
+++ b/lib/libc/gen/disklabel.c
@@ -70,11 +70,6 @@ getdiskbyname(const char *name)
(*cq = *cp) && *cq != '|' && *cq != ':')
cq++, cp++;
*cq = '\0';
- /*
- * boot name (optional) xxboot, bootxx
- */
- cgetstr(buf, "b0", &dp->d_boot0);
- cgetstr(buf, "b1", &dp->d_boot1);
if (cgetcap(buf, "sf", ':') != NULL)
dp->d_flags |= D_BADSECT;