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/dev/flash.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/dev/flash.c')
-rw-r--r-- | sys/dev/flash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/flash.c b/sys/dev/flash.c index e81d28d4733..8f267d5775f 100644 --- a/sys/dev/flash.c +++ b/sys/dev/flash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: flash.c,v 1.17 2010/09/08 14:47:12 jsing Exp $ */ +/* $OpenBSD: flash.c,v 1.18 2010/09/22 01:18:57 matthew Exp $ */ /* * Copyright (c) 2005 Uwe Stuehler <uwe@openbsd.org> @@ -1033,13 +1033,13 @@ flashminphys(struct buf *bp) int flashread(dev_t dev, struct uio *uio, int ioflag) { - return physio(flashstrategy, NULL, dev, B_READ, flashminphys, uio); + return physio(flashstrategy, dev, B_READ, flashminphys, uio); } int flashwrite(dev_t dev, struct uio *uio, int ioflag) { - return physio(flashstrategy, NULL, dev, B_WRITE, flashminphys, uio); + return physio(flashstrategy, dev, B_WRITE, flashminphys, uio); } /* |