sim/oneshot: don't need sleep_until when open CONFIG_SIM_WALLTIME_SIGNAL
@@ -437,6 +437,7 @@ void up_timer_initialize(void)
void sim_timer_update(void)
{
+#ifdef CONFIG_SIM_WALLTIME_SLEEP
static uint64_t until;
/* Wait a bit so that the timing is close to the correct rate. */
@@ -444,7 +445,6 @@ void sim_timer_update(void)
until += NSEC_PER_TICK;
host_sleepuntil(until);
-#ifdef CONFIG_SIM_WALLTIME_SLEEP
sim_timer_update_internal();
#endif
}
