artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
124ac52
)
Return early from NVS command submission if no response is required
author
mikeb
<mikeb@openbsd.org>
Wed, 21 Jun 2017 16:37:48 +0000
(16:37 +0000)
committer
mikeb
<mikeb@openbsd.org>
Wed, 21 Jun 2017 16:37:48 +0000
(16:37 +0000)
sys/dev/pv/if_hvn.c
patch
|
blob
|
history
diff --git
a/sys/dev/pv/if_hvn.c
b/sys/dev/pv/if_hvn.c
index
377bc67
..
9613bdf
100644
(file)
--- a/
sys/dev/pv/if_hvn.c
+++ b/
sys/dev/pv/if_hvn.c
@@
-1045,6
+1045,9
@@
hvn_nvs_cmd(struct hvn_softc *sc, void *cmd, size_t cmdsize, uint64_t tid,
return (rv);
}
+ if (timo == 0)
+ return (0);
+
do {
if (cold)
delay(1000);