summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2011-06-03 21:14:12 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2011-06-03 21:14:12 +0000
commitb49266b0d1eedd55de57e1d4401567959d64668b (patch)
tree02b80af63ba95447490b8a98dd6789777c9d630c /sys/arch/hp300
parentd1f6c185b1e681044b7d5340282e8895910755e2 (diff)
Get rid of the wlabel argument to bounds_check_with_label(). It's
never done anything in OpenBSD and just clutters disk drivers with silly flag handling. More cleanup to follow. ok deraadt@, millert@; no objections krw@
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/dev/hd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/hp300/dev/hd.c b/sys/arch/hp300/dev/hd.c
index 6d2bd489153..e97e28700e9 100644
--- a/sys/arch/hp300/dev/hd.c
+++ b/sys/arch/hp300/dev/hd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hd.c,v 1.63 2010/09/22 01:18:57 matthew Exp $ */
+/* $OpenBSD: hd.c,v 1.64 2011/06/03 21:14:11 matthew Exp $ */
/* $NetBSD: rd.c,v 1.33 1997/07/10 18:14:08 kleink Exp $ */
/*
@@ -692,9 +692,8 @@ hdstrategy(bp)
* Do bounds checking, adjust transfer. if error, process;
* If end of partition, just return.
*/
- if (bounds_check_with_label(bp, lp,
- (rs->sc_flags & HDF_WLABEL) != 0) <= 0)
- goto done;
+ if (bounds_check_with_label(bp, lp) <= 0)
+ goto done;
s = splbio();
dp = &rs->sc_tab;