Skip to content

Commit

Permalink
Remove dead macro ERTS_EMPTY_RUNQ_PORTS
Browse files Browse the repository at this point in the history
It was clearly wrong (copy of ERTS_EMPTY_RUNQ instead of checking
ERTS_IS_RUNQ_EMPTY_***PORTS***_FLAGS), but mercifully it was unused, so
let's just remove it rather than fixing it.
  • Loading branch information
RobinMorisset committed Jun 13, 2024
1 parent 8338a8c commit bb3cda7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions erts/emulator/beam/erl_process.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@
#define ERTS_EMPTY_RUNQ(RQ) \
ERTS_IS_RUNQ_EMPTY_FLGS(ERTS_RUNQ_FLGS_GET_NOB((RQ)))

#define ERTS_EMPTY_RUNQ_PORTS(RQ) \
ERTS_IS_RUNQ_EMPTY_FLGS(ERTS_RUNQ_FLGS_GET_NOB((RQ)))

static ERTS_INLINE int
runq_got_work_to_execute_flags(Uint32 flags)
{
Expand Down

0 comments on commit bb3cda7

Please sign in to comment.