summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/amd64/disksubr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/amd64/disksubr.c')
-rw-r--r--sys/arch/amd64/amd64/disksubr.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/amd64/amd64/disksubr.c b/sys/arch/amd64/amd64/disksubr.c
index fc8f15384b4..a69436e2847 100644
--- a/sys/arch/amd64/amd64/disksubr.c
+++ b/sys/arch/amd64/amd64/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.17 2006/10/10 03:17:45 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.18 2006/10/12 00:25:19 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */
/*
@@ -376,12 +376,6 @@ writedisklabel(dev, strat, lp, osdep)
for (dp2=dp, i=0; i < NDOSPART && ourpart == -1; i++, dp2++)
if (letoh32(dp2->dp_size) && dp2->dp_typ == DOSPTYP_OPENBSD)
ourpart = i;
- for (dp2=dp, i=0; i < NDOSPART && ourpart == -1; i++, dp2++)
- if (letoh32(dp2->dp_size) && dp2->dp_typ == DOSPTYP_FREEBSD)
- ourpart = i;
- for (dp2=dp, i=0; i < NDOSPART && ourpart == -1; i++, dp2++)
- if (letoh32(dp2->dp_size) && dp2->dp_typ == DOSPTYP_NETBSD)
- ourpart = i;
if (ourpart != -1) {
dp2 = &dp[ourpart];