diff options
author | Lukas Larsson <[email protected]> | 2016-04-19 11:24:14 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-04-26 16:02:44 +0200 |
commit | 071f9bba246684d401260a2729b8d72bbbfa1874 (patch) | |
tree | e79633004379c2507e554610889a7bd05734bfe3 /erts/emulator/beam/utils.c | |
parent | 115476cea0db80bb8d53b1a2f08c3b64d62df4ff (diff) | |
download | otp-071f9bba246684d401260a2729b8d72bbbfa1874.tar.gz otp-071f9bba246684d401260a2729b8d72bbbfa1874.tar.bz2 otp-071f9bba246684d401260a2729b8d72bbbfa1874.zip |
erts: Remove some dead code
Diffstat (limited to 'erts/emulator/beam/utils.c')
-rw-r--r-- | erts/emulator/beam/utils.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/erts/emulator/beam/utils.c b/erts/emulator/beam/utils.c index b280995488..68006e7ef3 100644 --- a/erts/emulator/beam/utils.c +++ b/erts/emulator/beam/utils.c @@ -71,41 +71,6 @@ #define HAVE_MALLOPT 0 #endif -/* profile_scheduler mini message queue */ - -typedef struct { - Uint scheduler_id; - Uint no_schedulers; - Uint Ms; - Uint s; - Uint us; - Eterm state; -} profile_sched_msg; - -typedef struct { - profile_sched_msg msg[2]; - Uint n; -} profile_sched_msg_q; - -#ifdef ERTS_SMP - -#if 0 /* Unused */ -static void -dispatch_profile_msg_q(profile_sched_msg_q *psmq) -{ - int i = 0; - profile_sched_msg *msg = NULL; - ASSERT(psmq != NULL); - for (i = 0; i < psmq->n; i++) { - msg = &(psmq->msg[i]); - profile_scheduler_q(make_small(msg->scheduler_id), msg->state, am_undefined, msg->Ms, msg->s, msg->us); - } -} -#endif - -#endif - - Eterm* erts_heap_alloc(Process* p, Uint need, Uint xtra) { |