squash clean up left overs

This commit is contained in:
Joakim Nohlgård 2016-07-09 10:38:02 +02:00
parent 6b238873ef
commit f16f5b5241

View file

@ -196,16 +196,12 @@ PROCESS_THREAD(rest_engine_process, ev, data)
{
PROCESS_BEGIN();
PRINTF("Starting rest_engine_process\n");
/* pause to let REST server finish adding resources. */
PROCESS_PAUSE();
/* initialize the PERIODIC_RESOURCE timers, which will be handled by this process. */
periodic_resource_t *periodic_resource = NULL;
PRINTF("Periodic: process\n");
for(periodic_resource =
(periodic_resource_t *)list_head(restful_periodic_services);
periodic_resource; periodic_resource = periodic_resource->next) {
@ -216,7 +212,6 @@ PROCESS_THREAD(rest_engine_process, ev, data)
periodic_resource->period);
}
}
while(1) {
PROCESS_WAIT_EVENT();