From: Julius Bünger Date: Fri, 27 Jul 2018 18:01:28 +0000 (+0200) Subject: Remove obsolete DLL for cancellations of tasks X-Git-Tag: v0.11.0~322^2~28 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=07a57f226261b7a78a57cc6de7e9f03738994b29;p=oweals%2Fgnunet.git Remove obsolete DLL for cancellations of tasks --- 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; }