aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/dist.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-09-19 17:44:47 +0200
committerSverker Eriksson <[email protected]>2017-11-15 20:13:03 +0100
commit56ab31904f7157d7b4282c2afd474c7bed7b9c75 (patch)
tree91736eacd66400968414d459bee2051668a2ef02 /erts/emulator/beam/dist.c
parente4d28f70133af9b3b8c320fe5e70e2086830874d (diff)
downloadotp-56ab31904f7157d7b4282c2afd474c7bed7b9c75.tar.gz
otp-56ab31904f7157d7b4282c2afd474c7bed7b9c75.tar.bz2
otp-56ab31904f7157d7b4282c2afd474c7bed7b9c75.zip
Remove faulty assert
Send may have failed, port exit with dist_entry cleaned up and then new pending connection with queued messages.
Diffstat (limited to 'erts/emulator/beam/dist.c')
-rw-r--r--erts/emulator/beam/dist.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c
index a5df92bf9a..474b0e8364 100644
--- a/erts/emulator/beam/dist.c
+++ b/erts/emulator/beam/dist.c
@@ -2480,11 +2480,6 @@ erts_dist_command(Port *prt, int initial_reds)
foq.first = NULL;
foq.last = NULL;
-#ifdef DEBUG
- erts_mtx_lock(&dep->qlock);
- ASSERT(erts_atomic_read_nob(&dep->qsize) == obufsize);
- erts_mtx_unlock(&dep->qlock);
-#endif
}
else {
if (oq.first) {