diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2010-09-22 01:18:58 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2010-09-22 01:18:58 +0000 |
commit | 34c87715dd3424febc6cb5524e46e8ac900ecd5b (patch) | |
tree | aa4bca84f8718e9b0a60a04c013600ebe373fd53 /sys/arch/hp300/dev/ct.c | |
parent | f5d040ac297491ad084c2a984bd5a30ced7e045e (diff) |
All users of physio(9) now pass NULL as the buf pointer argument, so
no point in keeping it around.
"i like this" thib@ (a while back); ok krw@ and oga@; reminder to
update the man page and tweaks jmc@
Diffstat (limited to 'sys/arch/hp300/dev/ct.c')
-rw-r--r-- | sys/arch/hp300/dev/ct.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hp300/dev/ct.c b/sys/arch/hp300/dev/ct.c index ea1bc02d2f9..25295601210 100644 --- a/sys/arch/hp300/dev/ct.c +++ b/sys/arch/hp300/dev/ct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ct.c,v 1.21 2008/06/12 06:58:33 deraadt Exp $ */ +/* $OpenBSD: ct.c,v 1.22 2010/09/22 01:18:57 matthew Exp $ */ /* $NetBSD: ct.c,v 1.21 1997/04/02 22:37:23 scottr Exp $ */ /* @@ -864,7 +864,7 @@ ctread(dev, uio, flags) struct uio *uio; int flags; { - return (physio(ctstrategy, NULL, dev, B_READ, minphys, uio)); + return (physio(ctstrategy, dev, B_READ, minphys, uio)); } int @@ -874,7 +874,7 @@ ctwrite(dev, uio, flags) int flags; { /* XXX: check for hardware write-protect? */ - return (physio(ctstrategy, NULL, dev, B_WRITE, minphys, uio)); + return (physio(ctstrategy, dev, B_WRITE, minphys, uio)); } /*ARGSUSED*/ |