diff options
author | Sverker Eriksson <[email protected]> | 2019-04-29 20:22:25 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-04-29 20:22:25 +0200 |
commit | f31bf49d94ee21682f90aa86fa6e4ec4753078d8 (patch) | |
tree | cf82a20b7338b7a18cf5a46f79346c2216d19ac6 /erts/emulator/beam | |
parent | 423915fae526b294774e70c821aed89e860f3345 (diff) | |
download | otp-f31bf49d94ee21682f90aa86fa6e4ec4753078d8.tar.gz otp-f31bf49d94ee21682f90aa86fa6e4ec4753078d8.tar.bz2 otp-f31bf49d94ee21682f90aa86fa6e4ec4753078d8.zip |
erts: Tidy up some harmless code typos
Diffstat (limited to 'erts/emulator/beam')
-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 a3069e419a..0936832115 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); @@ -908,7 +908,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 |