diff options
author | Sverker Eriksson <sverker@erlang.org> | 2019-04-29 20:22:25 +0200 |
---|---|---|
committer | Rickard Green <rickard@erlang.org> | 2021-03-04 23:11:43 +0100 |
commit | d01ee674e0b7de26969477418b69b1bdcdfdf892 (patch) | |
tree | 5ae8cf46b26352292a98e14127ad6faeb3c25450 | |
parent | 6dd336af1f02778f6870f8bd54a03e9166e6aa2d (diff) | |
download | erlang-d01ee674e0b7de26969477418b69b1bdcdfdf892.tar.gz |
erts: Tidy up some harmless code typos
-rw-r--r-- | erts/emulator/beam/time.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/erts/emulator/beam/time.c b/erts/emulator/beam/time.c index 6c528a362b..ee34d0036a 100644 --- a/erts/emulator/beam/time.c +++ b/erts/emulator/beam/time.c @@ -316,7 +316,7 @@ struct ErtsTimerWheel_ { #define ERTS_TW_SLOT_AT_ONCE (-1) #define ERTS_TW_BUMP_LATER_WHEEL(TIW) \ - ((tiw)->pos + ERTS_TW_LATER_WHEEL_SLOT_SIZE >= (TIW)->later.pos) + ((TIW)->pos + ERTS_TW_LATER_WHEEL_SLOT_SIZE >= (TIW)->later.pos) static int bump_later_wheel(ErtsTimerWheel *tiw, int *yield_count_p); @@ -912,7 +912,6 @@ erts_bump_timers(ErtsTimerWheel *tiw, ErtsMonotonicTime curr_time) { ErtsMonotonicTime tmp_slots = bump_to - tiw->pos; - tmp_slots = (bump_to - tiw->pos); if (tmp_slots < ERTS_TW_SOON_WHEEL_SIZE) slots = (int) tmp_slots; else |