aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/bif.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-08-15 16:26:34 +0200
committerSverker Eriksson <[email protected]>2017-11-15 20:10:33 +0100
commit5ad822ccfd841400bc44cb53acc6a0889ca3f128 (patch)
tree12ef789656884e00007f8db2a7b209d573e4bfc2 /erts/emulator/beam/bif.c
parente8df66a934045a1b0dc1edf0a695b6dbcf4cca4b (diff)
downloadotp-5ad822ccfd841400bc44cb53acc6a0889ca3f128.tar.gz
otp-5ad822ccfd841400bc44cb53acc6a0889ca3f128.tar.bz2
otp-5ad822ccfd841400bc44cb53acc6a0889ca3f128.zip
Remove obsolete erlang:dlink/1, dunlink/1 and dist_exit/3
Diffstat (limited to 'erts/emulator/beam/bif.c')
-rw-r--r--erts/emulator/beam/bif.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/erts/emulator/beam/bif.c b/erts/emulator/beam/bif.c
index 2af61e6ebc..8eb4d9e85b 100644
--- a/erts/emulator/beam/bif.c
+++ b/erts/emulator/beam/bif.c
@@ -1181,16 +1181,7 @@ BIF_RETTYPE unlink_1(BIF_ALIST_1)
switch (code) {
case ERTS_DSIG_PREP_NOT_ALIVE:
case ERTS_DSIG_PREP_NOT_CONNECTED:
-#if 1
BIF_RET(am_true);
-#else
- /*
- * This is how we used to do it, but the link is obviously not
- * active, so I see no point in setting up a connection.
- * /Rickard
- */
- BIF_TRAP1(dunlink_trap, BIF_P, BIF_ARG_1);
-#endif
case ERTS_DSIG_PREP_PENDING:
case ERTS_DSIG_PREP_CONNECTED: