From bb3cda71039a7cb669d20632e03aed2d61cc06d0 Mon Sep 17 00:00:00 2001 From: Robin Morisset Date: Thu, 13 Jun 2024 06:12:00 -0700 Subject: [PATCH] Remove dead macro ERTS_EMPTY_RUNQ_PORTS 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. --- erts/emulator/beam/erl_process.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index d79addd1ced4..f0b77ce2ad0c 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -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) {