summaryrefslogtreecommitdiffstats
path: root/sys/dev/flash.c
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2010-09-22 01:18:57 +0000
committermatthew <matthew@openbsd.org>2010-09-22 01:18:57 +0000
commit90f6ca673a707630ca0769f9d113ee3ee72328ff (patch)
tree6d67bdfb670a42dd49023de0b81a93631337b370 /sys/dev/flash.c
parentremove a leftover debug printf (diff)
downloadwireguard-openbsd-90f6ca673a707630ca0769f9d113ee3ee72328ff.tar.xz
wireguard-openbsd-90f6ca673a707630ca0769f9d113ee3ee72328ff.zip
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);
}
/*