summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-10-29 14:12:22 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-10-29 14:12:22 +0000
commitc39db9d92be8db9f2d33e296ff81effc3cefa369 (patch)
treeddb25846c25788f3c92bd1146d57154bafe0d578 /sys/arch
parent4f7859b0a0bbdf97b7bd3ba50fcbc6f788c70be6 (diff)
Don't need to 'goto done;' when 'done:' is the next line.
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);