aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/dist.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-08-18 17:08:27 +0200
committerSverker Eriksson <[email protected]>2017-11-15 20:10:33 +0100
commit389e11b8b8a476ca73ca03a39ad7ec298dc99e83 (patch)
tree45516ad633e015ce2289e6353c81182acc7f9bb7 /erts/emulator/beam/dist.c
parentda2935ce340cef5db1b5f589778eb20044796610 (diff)
downloadotp-389e11b8b8a476ca73ca03a39ad7ec298dc99e83.tar.gz
otp-389e11b8b8a476ca73ca03a39ad7ec298dc99e83.tar.bz2
otp-389e11b8b8a476ca73ca03a39ad7ec298dc99e83.zip
Remove obsolete erlang:dgroup_leader
Diffstat (limited to 'erts/emulator/beam/dist.c')
-rw-r--r--erts/emulator/beam/dist.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c
index e36ea9ba94..cd4125e404 100644
--- a/erts/emulator/beam/dist.c
+++ b/erts/emulator/beam/dist.c
@@ -109,7 +109,6 @@ int erts_dist_buf_busy_limit;
/* distribution trap functions */
Export* dmonitor_node_trap = NULL;
-Export* dgroup_leader_trap = NULL;
Export* dmonitor_p_trap = NULL;
/* local variables */
@@ -631,7 +630,6 @@ void init_dist(void)
/* Lookup/Install all references to trap functions */
dmonitor_node_trap = trap_function(am_dmonitor_node,3);
- dgroup_leader_trap = trap_function(am_dgroup_leader,2);
dmonitor_p_trap = trap_function(am_dmonitor_p, 2);
dist_ctrl_put_data_trap = erts_export_put(am_erts_internal,
am_dist_ctrl_put_data,
@@ -3103,9 +3101,6 @@ int distribution_info(fmtfn_t to, void *arg) /* Called by break handler */
/**********************************************************************
** Set the node name of current node fail if node already is set.
** setnode(name@host, Creation)
- ** loads functions pointer to trap_functions from module erlang.
- ** erlang:dmonitor_node/3
- ** erlang:dgroup_leader/2
***********************************************************************/
BIF_RETTYPE setnode_2(BIF_ALIST_2)
@@ -3130,7 +3125,6 @@ BIF_RETTYPE setnode_2(BIF_ALIST_2)
/* Check that all trap functions are defined !! */
if (dmonitor_node_trap->addressv[0] == NULL ||
- dgroup_leader_trap->addressv[0] == NULL ||
dmonitor_p_trap->addressv[0] == NULL) {
goto error;
}