diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-04-14 13:29:08 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-04-14 14:20:12 +0200 |
commit | 0a1e2b5e6c92cbea2d2e853facb8b4d6f058d541 (patch) | |
tree | d62cd3e13e58e701b8d664d39c757223c0e1b6e5 /erts/emulator/beam/dist.c | |
parent | 9015a160f677c19a6e3c7bac5d05298856f94108 (diff) | |
download | otp-0a1e2b5e6c92cbea2d2e853facb8b4d6f058d541.tar.gz otp-0a1e2b5e6c92cbea2d2e853facb8b4d6f058d541.tar.bz2 otp-0a1e2b5e6c92cbea2d2e853facb8b4d6f058d541.zip |
erts: Refactor erts_queue_message
Diffstat (limited to 'erts/emulator/beam/dist.c')
-rw-r--r-- | erts/emulator/beam/dist.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c index 32f3cda4f5..142fcb3c00 100644 --- a/erts/emulator/beam/dist.c +++ b/erts/emulator/beam/dist.c @@ -388,11 +388,7 @@ static void doit_node_link_net_exits(ErtsLink *lnk, void *vnecp) Eterm tup; Eterm *hp = erts_alloc_message_heap(3,&bp,&ohp,rp,&rp_locks); tup = TUPLE2(hp, am_nodedown, name); - erts_queue_message(rp, &rp_locks, bp, tup, NIL -#ifdef USE_VM_PROBES - , NIL -#endif - ); + erts_queue_message(rp, &rp_locks, bp, tup, NIL); } erts_smp_proc_unlock(rp, rp_locks); } @@ -3325,11 +3321,7 @@ send_nodes_mon_msg(Process *rp, } ASSERT(hend == hp); - erts_queue_message(rp, rp_locksp, bp, msg, NIL -#ifdef USE_VM_PROBES - , NIL -#endif - ); + erts_queue_message(rp, rp_locksp, bp, msg, NIL); } static void |