summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSverker Eriksson <sverker@erlang.org>2019-04-29 20:22:25 +0200
committerRickard Green <rickard@erlang.org>2021-03-04 23:11:43 +0100
commitd01ee674e0b7de26969477418b69b1bdcdfdf892 (patch)
tree5ae8cf46b26352292a98e14127ad6faeb3c25450
parent6dd336af1f02778f6870f8bd54a03e9166e6aa2d (diff)
downloaderlang-d01ee674e0b7de26969477418b69b1bdcdfdf892.tar.gz
erts: Tidy up some harmless code typos
-rw-r--r--erts/emulator/beam/time.c3
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