summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2015-12-11 12:41:58 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2015-12-11 12:41:58 +0000
commitfec3af185caed6d0e019063e77d0666cb977443d (patch)
treeed1c10e01bfbb6e6af93d7cc71d1009475b50d18 /sys
parent87161e9860f8797849f0beb4f674fb43ce63ce73 (diff)
Remove xs_resume for now; pointed out by mlarkin@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pv/xenstore.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/dev/pv/xenstore.c b/sys/dev/pv/xenstore.c
index 5850bd57333..07f28c556ad 100644
--- a/sys/dev/pv/xenstore.c
+++ b/sys/dev/pv/xenstore.c
@@ -241,25 +241,6 @@ xs_attach(struct xen_softc *sc)
return (-1);
}
-int
-xs_resume(struct xen_softc *sc)
-{
- struct xs_softc *xs = sc->sc_xs;
-
- xs->xs_ring->xsr_rsp_prod = xs->xs_ring->xsr_rsp_cons;
-
- if (xen_intr_disestablish(xs->xs_ih))
- return (-1);
-
- if (xen_intr_establish(xs->xs_port, &xs->xs_ih, xs_intr, xs, "xs0"))
- return (-1);
-
- DPRINTF("%s: xenstore interrupt established for port %d\n",
- sc->sc_dev.dv_xname, xs->xs_ih);
-
- return (0);
-}
-
static inline int
xs_sem_get(uint *semaphore)
{