projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c418c6
)
Remove obsolete DLL for cancellations of tasks
author
Julius Bünger
<buenger@mytum.de>
Fri, 27 Jul 2018 18:01:28 +0000
(20:01 +0200)
committer
Julius Bünger
<buenger@mytum.de>
Fri, 27 Jul 2018 18:01:28 +0000
(20:01 +0200)
src/rps/gnunet-service-rps.c
patch
|
blob
|
history
diff --git
a/src/rps/gnunet-service-rps.c
b/src/rps/gnunet-service-rps.c
index 4d502713f0ef85d18a0c3a854df1970919340745..f48b3d85d9167b93289a517bd8b9c0c6c99e8dd1 100644
(file)
--- 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;
}