Remove obsolete DLL for cancellations of tasks
authorJulius Bünger <buenger@mytum.de>
Fri, 27 Jul 2018 18:01:28 +0000 (20:01 +0200)
committerJulius Bünger <buenger@mytum.de>
Fri, 27 Jul 2018 18:01:28 +0000 (20:01 +0200)
src/rps/gnunet-service-rps.c

index 4d502713f0ef85d18a0c3a854df1970919340745..f48b3d85d9167b93289a517bd8b9c0c6c99e8dd1 100644 (file)
@@ -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;
 }