summaryrefslogtreecommitdiff
path: root/sys/arch/vax/vsa
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/vax/vsa
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/vax/vsa')
-rw-r--r--sys/arch/vax/vsa/hdc9224.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/vax/vsa/hdc9224.c b/sys/arch/vax/vsa/hdc9224.c
index 18020d066c5..ba4c509951b 100644
--- a/sys/arch/vax/vsa/hdc9224.c
+++ b/sys/arch/vax/vsa/hdc9224.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hdc9224.c,v 1.31 2010/09/20 06:33:48 matthew Exp $ */
+/* $OpenBSD: hdc9224.c,v 1.32 2010/09/22 01:18:57 matthew Exp $ */
/* $NetBSD: hdc9224.c,v 1.16 2001/07/26 15:05:09 wiz Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -739,7 +739,7 @@ hdioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
int
hdread(dev_t dev, struct uio *uio, int flag)
{
- return (physio(hdstrategy, NULL, dev, B_READ, minphys, uio));
+ return (physio(hdstrategy, dev, B_READ, minphys, uio));
}
/*
@@ -748,7 +748,7 @@ hdread(dev_t dev, struct uio *uio, int flag)
int
hdwrite(dev_t dev, struct uio *uio, int flag)
{
- return (physio(hdstrategy, NULL, dev, B_WRITE, minphys, uio));
+ return (physio(hdstrategy, dev, B_WRITE, minphys, uio));
}
/*