summaryrefslogtreecommitdiff
path: root/sys/scsi/cd.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/scsi/cd.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/scsi/cd.c')
-rw-r--r--sys/scsi/cd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index 4794294541e..7d93b274f5d 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.194 2010/09/21 12:20:53 krw Exp $ */
+/* $OpenBSD: cd.c,v 1.195 2010/09/22 01:18:57 matthew Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -769,14 +769,14 @@ int
cdread(dev_t dev, struct uio *uio, int ioflag)
{
- return (physio(cdstrategy, NULL, dev, B_READ, cdminphys, uio));
+ return (physio(cdstrategy, dev, B_READ, cdminphys, uio));
}
int
cdwrite(dev_t dev, struct uio *uio, int ioflag)
{
- return (physio(cdstrategy, NULL, dev, B_WRITE, cdminphys, uio));
+ return (physio(cdstrategy, dev, B_WRITE, cdminphys, uio));
}
/*