aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_neighbours.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-10 11:09:42 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-10 11:09:42 +0000
commit376b5f749c03e1ff149c2e8248eed9bec928872a (patch)
tree7c44864219de6d7d77bdaec34c9e4b7aaf199647 /src/core/gnunet-service-core_neighbours.c
parent9767d2478ccb8dcc3152cb617d84cd4cec2097c3 (diff)
downloadgnunet-376b5f749c03e1ff149c2e8248eed9bec928872a.tar.gz
gnunet-376b5f749c03e1ff149c2e8248eed9bec928872a.zip
dead code elimination
Diffstat (limited to 'src/core/gnunet-service-core_neighbours.c')
-rw-r--r--src/core/gnunet-service-core_neighbours.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/gnunet-service-core_neighbours.c b/src/core/gnunet-service-core_neighbours.c
index 774c173dc..0548766d0 100644
--- a/src/core/gnunet-service-core_neighbours.c
+++ b/src/core/gnunet-service-core_neighbours.c
@@ -113,11 +113,6 @@ struct Neighbour
113 */ 113 */
114 GNUNET_SCHEDULER_TaskIdentifier retry_plaintext_task; 114 GNUNET_SCHEDULER_TaskIdentifier retry_plaintext_task;
115 115
116 /**
117 * Tracking bandwidth for sending to this peer.
118 */
119 struct GNUNET_BANDWIDTH_Tracker available_recv_window;
120
121}; 116};
122 117
123 118
@@ -345,9 +340,6 @@ handle_transport_notify_connect (void *cls,
345#endif 340#endif
346 n = GNUNET_malloc (sizeof (struct Neighbour)); 341 n = GNUNET_malloc (sizeof (struct Neighbour));
347 n->peer = *peer; 342 n->peer = *peer;
348 GNUNET_BANDWIDTH_tracker_init (&n->available_recv_window,
349 GNUNET_CONSTANTS_DEFAULT_BW_IN_OUT,
350 MAX_WINDOW_TIME_S);
351 GNUNET_assert (GNUNET_OK == 343 GNUNET_assert (GNUNET_OK ==
352 GNUNET_CONTAINER_multihashmap_put (neighbours, 344 GNUNET_CONTAINER_multihashmap_put (neighbours,
353 &n->peer.hashPubKey, n, 345 &n->peer.hashPubKey, n,