summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMasao Uebayashi <uebayasi@cvs.openbsd.org>2015-08-12 09:15:53 +0000
committerMasao Uebayashi <uebayasi@cvs.openbsd.org>2015-08-12 09:15:53 +0000
commit42922ac5bf2ad3e40a78752d5426a649167fec38 (patch)
tree983050c4ba672d0faa85b9f73a70fd8b0f44230c /sys/dev
parentd777f06ca2bec6b53b08abfad110fd8aeb8ecde3 (diff)
Merge two return branches in vmt_tclo_tick(). No functional changes.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pv/vmt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pv/vmt.c b/sys/dev/pv/vmt.c
index 0281b4e39b8..a2763b3e081 100644
--- a/sys/dev/pv/vmt.c
+++ b/sys/dev/pv/vmt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmt.c,v 1.3 2015/07/28 09:48:52 reyk Exp $ */
+/* $OpenBSD: vmt.c,v 1.4 2015/08/12 09:15:52 uebayasi Exp $ */
/*
* Copyright (c) 2007 David Crawshaw <david@zentus.com>
@@ -780,8 +780,8 @@ vmt_tclo_tick(void *xarg)
if (vm_rpc_open(&sc->sc_tclo_rpc, VM_RPC_OPEN_TCLO) != 0) {
DPRINTF("%s: unable to reopen TCLO channel\n",
DEVNAME(sc));
- timeout_add_sec(&sc->sc_tclo_tick, 15);
- return;
+ delay = 15;
+ goto out;
}
if (vm_rpc_send_str(&sc->sc_tclo_rpc,