Remove unused imsg type IMSG_VMDOP_RECEIVE_VM_RESPONSE.
authorclaudio <claudio@openbsd.org>
Tue, 4 Jan 2022 15:22:53 +0000 (15:22 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 4 Jan 2022 15:22:53 +0000 (15:22 +0000)
OK benno@ dv@

usr.sbin/vmd/control.c
usr.sbin/vmd/vmd.h

index d9043d0..8b16ba8 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: control.c,v 1.38 2021/11/29 05:17:35 deraadt Exp $    */
+/*     $OpenBSD: control.c,v 1.39 2022/01/04 15:22:53 claudio Exp $    */
 
 /*
  * Copyright (c) 2010-2015 Reyk Floeter <reyk@openbsd.org>
@@ -94,7 +94,6 @@ control_dispatch_vmd(int fd, struct privsep_proc *p, struct imsg *imsg)
        case IMSG_VMDOP_START_VM_RESPONSE:
        case IMSG_VMDOP_PAUSE_VM_RESPONSE:
        case IMSG_VMDOP_SEND_VM_RESPONSE:
-       case IMSG_VMDOP_RECEIVE_VM_RESPONSE:
        case IMSG_VMDOP_UNPAUSE_VM_RESPONSE:
        case IMSG_VMDOP_GET_INFO_VM_DATA:
        case IMSG_VMDOP_GET_INFO_VM_END_DATA:
index 0f66bdb..5f33b64 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: vmd.h,v 1.107 2021/11/29 05:17:35 deraadt Exp $       */
+/*     $OpenBSD: vmd.h,v 1.108 2022/01/04 15:22:53 claudio Exp $       */
 
 /*
  * Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
@@ -101,7 +101,6 @@ enum imsg_type {
        IMSG_VMDOP_SEND_VM_REQUEST,
        IMSG_VMDOP_SEND_VM_RESPONSE,
        IMSG_VMDOP_RECEIVE_VM_REQUEST,
-       IMSG_VMDOP_RECEIVE_VM_RESPONSE,
        IMSG_VMDOP_RECEIVE_VM_END,
        IMSG_VMDOP_WAIT_VM_REQUEST,
        IMSG_VMDOP_TERMINATE_VM_REQUEST,