]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove fr_worker_control_plane()
authorAlan T. DeKok <aland@freeradius.org>
Tue, 20 Dec 2016 16:48:58 +0000 (11:48 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 20 Dec 2016 16:48:58 +0000 (11:48 -0500)
fr_worker_channel_create() should be used instead

src/util/worker.c
src/util/worker.h

index a8caeb90e24fb31e63a24b199d1526935c3333df..17677b484bad922aa3070cbb561979716e6edb40 100644 (file)
@@ -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
  *
index 1a726de590882ce6494aadbcb287e7a470b4ebce..5d7481be9b4fa9ce929f5bbd8c19096d3ce53320 100644 (file)
@@ -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);