ITS#9642 Lloadd standalone doesn't use rq

This commit is contained in:
Ondřej Kuzník 2021-09-13 14:36:18 +01:00 committed by Quanah Gibson-Mount
parent bc37a9fdfa
commit edf7ef4948
2 changed files with 0 additions and 7 deletions

View File

@ -64,7 +64,6 @@ int slap_inet4or6 = AF_INET;
/* globals */
time_t starttime;
struct runqueue_s slapd_rq;
#ifdef LDAP_TCP_BUFFER
int slapd_tcp_rmem;

View File

@ -35,8 +35,6 @@
#include "lload.h"
#include "lber_pvt.h"
#include "ldap_rq.h"
#ifndef BALANCER_MODULE
/*
* read-only global variables or variables only written by the listener
@ -159,10 +157,6 @@ lload_init( int mode, const char *name )
ldap_pvt_thread_pool_init_q( &connection_pool, connection_pool_max,
0, connection_pool_queues );
ldap_pvt_thread_mutex_init( &slapd_rq.rq_mutex );
LDAP_STAILQ_INIT( &slapd_rq.task_list );
LDAP_STAILQ_INIT( &slapd_rq.run_list );
rc = lload_global_init();
break;