summaryrefslogtreecommitdiff
path: root/sys/dev/flash.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/dev/flash.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/dev/flash.c')
-rw-r--r--sys/dev/flash.c6
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);
}
/*