aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_nif.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-04-14 13:29:08 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-04-14 14:20:12 +0200
commit0a1e2b5e6c92cbea2d2e853facb8b4d6f058d541 (patch)
treed62cd3e13e58e701b8d664d39c757223c0e1b6e5 /erts/emulator/beam/erl_nif.c
parent9015a160f677c19a6e3c7bac5d05298856f94108 (diff)
downloadotp-0a1e2b5e6c92cbea2d2e853facb8b4d6f058d541.tar.gz
otp-0a1e2b5e6c92cbea2d2e853facb8b4d6f058d541.tar.bz2
otp-0a1e2b5e6c92cbea2d2e853facb8b4d6f058d541.zip
erts: Refactor erts_queue_message
Diffstat (limited to 'erts/emulator/beam/erl_nif.c')
-rw-r--r--erts/emulator/beam/erl_nif.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/erts/emulator/beam/erl_nif.c b/erts/emulator/beam/erl_nif.c
index 660f446a52..776bbf6719 100644
--- a/erts/emulator/beam/erl_nif.c
+++ b/erts/emulator/beam/erl_nif.c
@@ -357,11 +357,7 @@ int enif_send(ErlNifEnv* env, const ErlNifPid* to_pid,
if (flush_me) {
flush_env(env); /* Needed for ERTS_HOLE_CHECK */
}
- erts_queue_message(rp, &rp_locks, frags, msg, am_undefined
-#ifdef USE_VM_PROBES
- , NIL
-#endif
- );
+ erts_queue_message(rp, &rp_locks, frags, msg, am_undefined);
if (c_p == rp)
rp_locks &= ~ERTS_PROC_LOCK_MAIN;
if (rp_locks)