From e8ac12f25c9ddf3fcf02ae524446b294725617ec Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Fri, 2 Sep 2016 12:12:52 +0000 Subject: As done in httpd, remove ps_ninstances and p_instance. OK benno@ rzalamena@ --- usr.sbin/relayd/relay.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'usr.sbin/relayd/relay.c') 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 @@ -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; -- cgit v1.2.3