summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/snmpd/proc.c')
-rw-r--r--usr.sbin/snmpd/proc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/snmpd/proc.c b/usr.sbin/snmpd/proc.c
index 40c19f6f5e8..eba26bd7e56 100644
--- a/usr.sbin/snmpd/proc.c
+++ b/usr.sbin/snmpd/proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.c,v 1.24 2017/05/29 12:56:26 benno Exp $ */
+/* $OpenBSD: proc.c,v 1.25 2018/08/05 09:33:13 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)();