summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/ct.c
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2010-09-22 01:18:58 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2010-09-22 01:18:58 +0000
commit34c87715dd3424febc6cb5524e46e8ac900ecd5b (patch)
treeaa4bca84f8718e9b0a60a04c013600ebe373fd53 /sys/arch/hp300/dev/ct.c
parentf5d040ac297491ad084c2a984bd5a30ced7e045e (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.c6
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*/