From 79ac00b5ed2f141216d7dd6613d54f737b28d6f3 Mon Sep 17 00:00:00 2001 From: claudio Date: Tue, 4 Jan 2022 15:22:53 +0000 Subject: [PATCH] Remove unused imsg type IMSG_VMDOP_RECEIVE_VM_RESPONSE. OK benno@ dv@ --- usr.sbin/vmd/control.c | 3 +-- usr.sbin/vmd/vmd.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/usr.sbin/vmd/control.c b/usr.sbin/vmd/control.c index d9043d0ccf5..8b16ba89147 100644 --- a/usr.sbin/vmd/control.c +++ b/usr.sbin/vmd/control.c @@ -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 @@ -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: diff --git a/usr.sbin/vmd/vmd.h b/usr.sbin/vmd/vmd.h index 0f66bdb53bc..5f33b648317 100644 --- a/usr.sbin/vmd/vmd.h +++ b/usr.sbin/vmd/vmd.h @@ -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 @@ -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, -- 2.20.1