diff options
-rw-r--r-- | sys/arch/amd64/amd64/vmm.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c index 24107ce7575..6c0e8c52658 100644 --- a/sys/arch/amd64/amd64/vmm.c +++ b/sys/arch/amd64/amd64/vmm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmm.c,v 1.66 2016/07/13 06:57:35 mlarkin Exp $ */ +/* $OpenBSD: vmm.c,v 1.67 2016/07/16 06:32:18 mlarkin Exp $ */ /* * Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org> * @@ -100,7 +100,6 @@ struct vmm_softc { int vmm_probe(struct device *, void *, void *); void vmm_attach(struct device *, struct device *, void *); -int vmm_activate(struct device *, int); int vmmopen(dev_t, int, int, struct proc *); int vmmioctl(dev_t, u_long, caddr_t, int, struct proc *); int vmmclose(dev_t, int, int, struct proc *); @@ -187,7 +186,7 @@ struct cfdriver vmm_cd = { }; const struct cfattach vmm_ca = { - sizeof(struct vmm_softc), vmm_probe, vmm_attach, NULL, vmm_activate + sizeof(struct vmm_softc), vmm_probe, vmm_attach, NULL, NULL }; /* Pools for VMs and VCPUs */ @@ -310,19 +309,6 @@ vmm_attach(struct device *parent, struct device *self, void *aux) } /* - * vmm_activate - * - * Autoconf routine used during activate/deactivate. - * - * XXX need this for suspend/resume - */ -int -vmm_activate(struct device *self, int act) -{ - return 0; -} - -/* * vmmopen * * Called during open of /dev/vmm. Presently unused. |