aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-07-24 16:05:36 +0200
committerSverker Eriksson <[email protected]>2017-11-15 20:10:33 +0100
commite8df66a934045a1b0dc1edf0a695b6dbcf4cca4b (patch)
treeaf7f3bcd7712d22408556e2d777c870c837395dc /erts/emulator
parent17e198d6ee60f7dec9abfed272cf4226aea44535 (diff)
downloadotp-e8df66a934045a1b0dc1edf0a695b6dbcf4cca4b.tar.gz
otp-e8df66a934045a1b0dc1edf0a695b6dbcf4cca4b.tar.bz2
otp-e8df66a934045a1b0dc1edf0a695b6dbcf4cca4b.zip
Remove obsolete erlang:dsend
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/atom.names1
-rw-r--r--erts/emulator/beam/dist.c11
-rw-r--r--erts/emulator/beam/dist.h2
3 files changed, 1 insertions, 13 deletions
diff --git a/erts/emulator/beam/atom.names b/erts/emulator/beam/atom.names
index a534dd44fb..dd3e11dc26 100644
--- a/erts/emulator/beam/atom.names
+++ b/erts/emulator/beam/atom.names
@@ -231,7 +231,6 @@ atom dollar_endonly
atom dotall
atom driver
atom driver_options
-atom dsend
atom dsend_continue_trap
atom dunlink
atom duplicate_bag
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c
index 724cb6b24d..7c44545de3 100644
--- a/erts/emulator/beam/dist.c
+++ b/erts/emulator/beam/dist.c
@@ -108,9 +108,6 @@ int erts_dist_buf_busy_limit;
/* distribution trap functions */
-Export* dsend2_trap = NULL;
-Export* dsend3_trap = NULL;
-/*Export* dsend_nosuspend_trap = NULL;*/
Export* dlink_trap = NULL;
Export* dunlink_trap = NULL;
Export* dmonitor_node_trap = NULL;
@@ -636,9 +633,6 @@ void init_dist(void)
erts_atomic_init_nob(&no_caches, 0);
/* Lookup/Install all references to trap functions */
- dsend2_trap = trap_function(am_dsend,2);
- dsend3_trap = trap_function(am_dsend,3);
- /* dsend_nosuspend_trap = trap_function(am_dsend_nosuspend,2);*/
dlink_trap = trap_function(am_dlink,1);
dunlink_trap = trap_function(am_dunlink,1);
dmonitor_node_trap = trap_function(am_dmonitor_node,3);
@@ -3148,10 +3142,7 @@ BIF_RETTYPE setnode_2(BIF_ALIST_2)
goto error;
/* Check that all trap functions are defined !! */
- if (dsend2_trap->addressv[0] == NULL ||
- dsend3_trap->addressv[0] == NULL ||
- /* dsend_nosuspend_trap->address == NULL ||*/
- dlink_trap->addressv[0] == NULL ||
+ if (dlink_trap->addressv[0] == NULL ||
dunlink_trap->addressv[0] == NULL ||
dmonitor_node_trap->addressv[0] == NULL ||
dgroup_leader_trap->addressv[0] == NULL ||
diff --git a/erts/emulator/beam/dist.h b/erts/emulator/beam/dist.h
index 26432b21e9..8bb915c76b 100644
--- a/erts/emulator/beam/dist.h
+++ b/erts/emulator/beam/dist.h
@@ -86,8 +86,6 @@
#define DOP_SEND_SENDER_TT 23
/* distribution trap functions */
-extern Export* dsend2_trap;
-extern Export* dsend3_trap;
extern Export* dlink_trap;
extern Export* dunlink_trap;
extern Export* dmonitor_node_trap;