Skip to content

Commit

Permalink
squash clean up left overs
Browse files Browse the repository at this point in the history
  • Loading branch information
Joakim Nohlgård committed Jul 9, 2016
1 parent 6b23887 commit f16f5b5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apps/rest-engine/rest-engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -216,7 +212,6 @@ PROCESS_THREAD(rest_engine_process, ev, data)
periodic_resource->period);
}
}

while(1) {
PROCESS_WAIT_EVENT();

Expand Down

0 comments on commit f16f5b5

Please sign in to comment.