From: Alan T. DeKok Date: Tue, 20 Dec 2016 16:48:58 +0000 (-0500) Subject: remove fr_worker_control_plane() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54dd862ffc504fecce651559df81e9b2f5ad492e;p=thirdparty%2Ffreeradius-server.git remove fr_worker_control_plane() fr_worker_channel_create() should be used instead --- diff --git a/src/util/worker.c b/src/util/worker.c index a8caeb90e24..17677b484ba 100644 --- a/src/util/worker.c +++ b/src/util/worker.c @@ -992,15 +992,6 @@ int fr_worker_kq(fr_worker_t *worker) return worker->kq; } -/** Get the control-plane queue for the worker - * - * @param[in] worker the worker data structure - * @return the atomic queue for the control plane - */ -fr_atomic_queue_t *fr_worker_control_plane(fr_worker_t *worker) -{ - return worker->aq_control; -} /** Signal a worker to exit * diff --git a/src/util/worker.h b/src/util/worker.h index 1a726de5908..5d7481be9b4 100644 --- a/src/util/worker.h +++ b/src/util/worker.h @@ -46,7 +46,6 @@ typedef struct fr_worker_t fr_worker_t; fr_worker_t *fr_worker_create(TALLOC_CTX *ctx, uint32_t num_transports, fr_transport_t **transports); void fr_worker_destroy(fr_worker_t *worker) CC_HINT(nonnull); int fr_worker_kq(fr_worker_t *worker) CC_HINT(nonnull); -fr_atomic_queue_t *fr_worker_control_plane(fr_worker_t *worker) CC_HINT(nonnull); void fr_worker(fr_worker_t *worker) CC_HINT(nonnull); void fr_worker_exit(fr_worker_t *worker) CC_HINT(nonnull); void fr_worker_debug(fr_worker_t *worker, FILE *fp) CC_HINT(nonnull);