aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-01-19 17:24:14 +0100
committerRickard Green <[email protected]>2017-01-19 17:24:14 +0100
commiteaecd838ebc3410efcbe0f3b1717543d6a4650b0 (patch)
tree1312db62f11faa3449433aff220b5d828d3a7485 /erts
parentbfcf88311828b93a833ce96ad1a518b8eca08552 (diff)
downloadotp-eaecd838ebc3410efcbe0f3b1717543d6a4650b0.tar.gz
otp-eaecd838ebc3410efcbe0f3b1717543d6a4650b0.tar.bz2
otp-eaecd838ebc3410efcbe0f3b1717543d6a4650b0.zip
Fix unused warning
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index f80ebdf31b..641a8fb3e8 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -127,11 +127,13 @@ runq_got_work_to_execute_flags(Uint32 flags)
return !ERTS_IS_RUNQ_EMPTY_FLGS(flags);
}
+#ifdef ERTS_SMP
static ERTS_INLINE int
runq_got_work_to_execute(ErtsRunQueue *rq)
{
return runq_got_work_to_execute_flags(ERTS_RUNQ_FLGS_GET_NOB(rq));
}
+#endif
#undef RUNQ_READ_RQ
#undef RUNQ_SET_RQ