_scheduler/scheduler.py: Remove unused elapsed_time() calls

Description

Whilst working on the refactoring of callbacks for #1036 (closed) it was found that we were redundantly calling and passing elapsed_time() in run() and _ticker_callback().

Changes proposed in this merge request:

  • Don't call & return elapsed_time() when it is unused by the caller

Merge request reports

Loading