From 07a57f226261b7a78a57cc6de7e9f03738994b29 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20B=C3=BCnger?= Date: Fri, 27 Jul 2018 20:01:28 +0200 Subject: [PATCH] Remove obsolete DLL for cancellations of tasks --- src/rps/gnunet-service-rps.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 4d502713f..f48b3d85d 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c @@ -286,12 +286,6 @@ struct ChannelCtx struct GNUNET_SCHEDULER_Task *destruction_task; }; -/** - * @brief The DLL of channel contexts - */ -static struct ChannelCtx *channel_ctx_head; -static struct ChannelCtx *channel_ctx_tail; - /** * @brief Hashmap of valid peers. */ @@ -2671,7 +2665,6 @@ add_channel_ctx (struct PeerContext *peer_ctx) struct ChannelCtx *channel_ctx; channel_ctx = GNUNET_new (struct ChannelCtx); channel_ctx->peer_ctx = peer_ctx; - GNUNET_CONTAINER_DLL_insert (channel_ctx_head, channel_ctx_tail, channel_ctx); return channel_ctx; } -- 2.25.1