Skip to content

Commit

Permalink
Merge pull request contiki-os#2599 from pjonsson/rpl-classic-timer
Browse files Browse the repository at this point in the history
rpl-classic: remove duplicate read
  • Loading branch information
nvt committed Aug 14, 2023
2 parents e20cd5b + fdf4cdc commit e3f480a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions os/net/routing/rpl-classic/rpl-timers.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,6 @@ schedule_dao(rpl_instance_t *instance, clock_time_t latency)
return;
}

expiration_time = etimer_expiration_time(&instance->dao_timer.etimer);

if(!etimer_expired(&instance->dao_timer.etimer)) {
LOG_DBG("DAO timer already scheduled\n");
} else {
Expand Down

0 comments on commit e3f480a

Please sign in to comment.