summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relay.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2016-09-02 12:12:52 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2016-09-02 12:12:52 +0000
commite8ac12f25c9ddf3fcf02ae524446b294725617ec (patch)
tree34a924f157282cbbb7adf648d8446692fdff4d38 /usr.sbin/relayd/relay.c
parentc8172199c616cc00c144205ad7a9f82da9615a15 (diff)
As done in httpd, remove ps_ninstances and p_instance.
OK benno@ rzalamena@
Diffstat (limited to 'usr.sbin/relayd/relay.c')
-rw-r--r--usr.sbin/relayd/relay.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/relayd/relay.c b/usr.sbin/relayd/relay.c
index 1c809ebec62..359034595bc 100644
--- a/usr.sbin/relayd/relay.c
+++ b/usr.sbin/relayd/relay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay.c,v 1.208 2016/09/02 11:51:49 reyk Exp $ */
+/* $OpenBSD: relay.c,v 1.209 2016/09/02 12:12:51 reyk Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -325,9 +325,6 @@ relay_init(struct privsep *ps, struct privsep_proc *p, void *arg)
if (config_init(ps->ps_env) == -1)
fatal("failed to initialize configuration");
- /* Set to current prefork id */
- proc_id = p->p_instance;
-
/* We use a custom shutdown callback */
p->p_shutdown = relay_shutdown;