diff options
author | 2011-06-03 21:14:11 +0000 | |
---|---|---|
committer | 2011-06-03 21:14:11 +0000 | |
commit | 58d155a8bd341acd2e73b81dea97af3abb749a0c (patch) | |
tree | bb8e802bc72a7bc8af785edf9d9be535536ee1f7 /sys/dev/isa/mcd.c | |
parent | one midicat server can export multiple midithru ports (diff) | |
download | wireguard-openbsd-58d155a8bd341acd2e73b81dea97af3abb749a0c.tar.xz wireguard-openbsd-58d155a8bd341acd2e73b81dea97af3abb749a0c.zip |
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/dev/isa/mcd.c')
-rw-r--r-- | sys/dev/isa/mcd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/isa/mcd.c b/sys/dev/isa/mcd.c index b4012fe2a58..d250f670ae7 100644 --- a/sys/dev/isa/mcd.c +++ b/sys/dev/isa/mcd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mcd.c,v 1.57 2011/06/03 18:22:25 matthew Exp $ */ +/* $OpenBSD: mcd.c,v 1.58 2011/06/03 21:14:11 matthew Exp $ */ /* $NetBSD: mcd.c,v 1.60 1998/01/14 12:14:41 drochner Exp $ */ /* @@ -506,8 +506,7 @@ mcdstrategy(bp) * Do bounds checking, adjust transfer. if error, process. * If end of partition, just return. */ - if (bounds_check_with_label(bp, sc->sc_dk.dk_label, - (sc->flags & (MCDF_WLABEL|MCDF_LABELLING)) != 0) <= 0) + if (bounds_check_with_label(bp, sc->sc_dk.dk_label) <= 0) goto done; /* Queue it. */ |