summaryrefslogtreecommitdiff
path: root/usr.sbin/switchd/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/switchd/proc.c')
-rw-r--r--usr.sbin/switchd/proc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/switchd/proc.c b/usr.sbin/switchd/proc.c
index 94ee34bfe9f..6a69d458fa6 100644
--- a/usr.sbin/switchd/proc.c
+++ b/usr.sbin/switchd/proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.c,v 1.12 2017/05/29 12:56:26 benno Exp $ */
+/* $OpenBSD: proc.c,v 1.13 2018/08/05 08:16:24 mestre Exp $ */
/*
* Copyright (c) 2010 - 2016 Reyk Floeter <reyk@openbsd.org>
@@ -475,9 +475,6 @@ proc_shutdown(struct privsep_proc *p)
{
struct privsep *ps = p->p_ps;
- if (p->p_id == PROC_CONTROL && ps)
- control_cleanup(&ps->ps_csock);
-
if (p->p_shutdown != NULL)
(*p->p_shutdown)();