summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/disksubr.c3
-rw-r--r--sys/arch/hp300/hp300/disksubr.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/disksubr.c b/sys/arch/amd64/amd64/disksubr.c
index fa274029b30..e00d6c9e0fd 100644
--- a/sys/arch/amd64/amd64/disksubr.c
+++ b/sys/arch/amd64/amd64/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.26 2006/10/29 00:02:35 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.27 2006/10/29 14:12:21 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */
/*
@@ -402,7 +402,6 @@ writedisklabel(dev, strat, lp, osdep)
bp->b_flags = B_BUSY | B_WRITE;
(*strat)(bp);
error = biowait(bp);
- goto done;
done:
bp->b_flags |= B_INVAL;
diff --git a/sys/arch/hp300/hp300/disksubr.c b/sys/arch/hp300/hp300/disksubr.c
index ed5293078a5..8f0a8346a16 100644
--- a/sys/arch/hp300/hp300/disksubr.c
+++ b/sys/arch/hp300/hp300/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.22 2006/10/20 00:55:32 jsg Exp $ */
+/* $OpenBSD: disksubr.c,v 1.23 2006/10/29 14:12:21 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.9 1997/04/01 03:12:13 scottr Exp $ */
/*
@@ -210,7 +210,6 @@ writedisklabel(dev, strat, lp, osdep)
bp->b_flags = B_BUSY | B_WRITE;
(*strat)(bp);
error = biowait(bp);
- goto done;
done:
brelse(bp);