diff options
author | Julius Bünger <buenger@mytum.de> | 2018-07-27 20:01:28 +0200 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2018-07-27 20:01:28 +0200 |
commit | 07a57f226261b7a78a57cc6de7e9f03738994b29 (patch) | |
tree | 1b5b4fc794059926618cf1bf42bb5975c7819271 | |
parent | 8c418c66fcdba8854c8a4c49696436c75dec856d (diff) | |
download | gnunet-07a57f226261b7a78a57cc6de7e9f03738994b29.tar.gz gnunet-07a57f226261b7a78a57cc6de7e9f03738994b29.zip |
Remove obsolete DLL for cancellations of tasks
-rw-r--r-- | src/rps/gnunet-service-rps.c | 7 |
1 files changed, 0 insertions, 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 | |||
@@ -287,12 +287,6 @@ struct ChannelCtx | |||
287 | }; | 287 | }; |
288 | 288 | ||
289 | /** | 289 | /** |
290 | * @brief The DLL of channel contexts | ||
291 | */ | ||
292 | static struct ChannelCtx *channel_ctx_head; | ||
293 | static struct ChannelCtx *channel_ctx_tail; | ||
294 | |||
295 | /** | ||
296 | * @brief Hashmap of valid peers. | 290 | * @brief Hashmap of valid peers. |
297 | */ | 291 | */ |
298 | static struct GNUNET_CONTAINER_MultiPeerMap *valid_peers; | 292 | static struct GNUNET_CONTAINER_MultiPeerMap *valid_peers; |
@@ -2671,7 +2665,6 @@ add_channel_ctx (struct PeerContext *peer_ctx) | |||
2671 | struct ChannelCtx *channel_ctx; | 2665 | struct ChannelCtx *channel_ctx; |
2672 | channel_ctx = GNUNET_new (struct ChannelCtx); | 2666 | channel_ctx = GNUNET_new (struct ChannelCtx); |
2673 | channel_ctx->peer_ctx = peer_ctx; | 2667 | channel_ctx->peer_ctx = peer_ctx; |
2674 | GNUNET_CONTAINER_DLL_insert (channel_ctx_head, channel_ctx_tail, channel_ctx); | ||
2675 | return channel_ctx; | 2668 | return channel_ctx; |
2676 | } | 2669 | } |
2677 | 2670 | ||