diff options
Diffstat (limited to 'src/ats/gnunet-service-ats_scheduling.c')
-rw-r--r-- | src/ats/gnunet-service-ats_scheduling.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/ats/gnunet-service-ats_scheduling.c b/src/ats/gnunet-service-ats_scheduling.c index 8125b8664..ca4e86ca4 100644 --- a/src/ats/gnunet-service-ats_scheduling.c +++ b/src/ats/gnunet-service-ats_scheduling.c | |||
@@ -73,10 +73,6 @@ static struct SchedulingClient *sc_tail; | |||
73 | */ | 73 | */ |
74 | static struct GNUNET_SERVER_NotificationContext *nc; | 74 | static struct GNUNET_SERVER_NotificationContext *nc; |
75 | 75 | ||
76 | static unsigned long long total_quota_in; | ||
77 | |||
78 | static unsigned long long total_quota_out; | ||
79 | |||
80 | 76 | ||
81 | /** | 77 | /** |
82 | * Find the scheduling client associated with the given | 78 | * Find the scheduling client associated with the given |
@@ -359,22 +355,10 @@ GAS_handle_address_destroyed (void *cls, struct GNUNET_SERVER_Client *client, | |||
359 | * Initialize scheduling subsystem. | 355 | * Initialize scheduling subsystem. |
360 | * | 356 | * |
361 | * @param server handle to our server | 357 | * @param server handle to our server |
362 | * @param cfg configuration to use | ||
363 | */ | 358 | */ |
364 | void | 359 | void |
365 | GAS_scheduling_init (struct GNUNET_SERVER_Handle *server, | 360 | GAS_scheduling_init (struct GNUNET_SERVER_Handle *server) |
366 | const struct GNUNET_CONFIGURATION_Handle *cfg) | ||
367 | { | 361 | { |
368 | GNUNET_assert (GNUNET_OK == | ||
369 | GNUNET_CONFIGURATION_get_value_number (cfg, | ||
370 | "core", | ||
371 | "TOTAL_QUOTA_IN", | ||
372 | &total_quota_in)); | ||
373 | GNUNET_assert (GNUNET_OK == | ||
374 | GNUNET_CONFIGURATION_get_value_number (cfg, | ||
375 | "core", | ||
376 | "TOTAL_QUOTA_OUT", | ||
377 | &total_quota_out)); | ||
378 | nc = GNUNET_SERVER_notification_context_create (server, 128); | 362 | nc = GNUNET_SERVER_notification_context_create (server, 128); |
379 | } | 363 | } |
380 | 364 | ||