diff options
author | Anders Svensson <[email protected]> | 2015-01-28 10:11:14 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2015-02-20 02:23:38 +0100 |
commit | 876d65640c5976ac137f0fee9a620ef79cf70656 (patch) | |
tree | 1c7a07338f06b66efce1af1e4e0c990f5ef0fc28 /lib/diameter/src/transport/diameter_sctp.erl | |
parent | 14f17215949846a889bf9448e1040401e3655381 (diff) | |
download | otp-876d65640c5976ac137f0fee9a620ef79cf70656.tar.gz otp-876d65640c5976ac137f0fee9a620ef79cf70656.tar.bz2 otp-876d65640c5976ac137f0fee9a620ef79cf70656.zip |
Remove (ancient) dead code
Commit 9a671bf0 removed the need for diameter_sctp to send outgoing
messages through the listening process. That was prior to R5B02, so the
clause isn't need for any upgrade case.
Diffstat (limited to 'lib/diameter/src/transport/diameter_sctp.erl')
-rw-r--r-- | lib/diameter/src/transport/diameter_sctp.erl | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/diameter/src/transport/diameter_sctp.erl b/lib/diameter/src/transport/diameter_sctp.erl index adc34d6138..4483e06737 100644 --- a/lib/diameter/src/transport/diameter_sctp.erl +++ b/lib/diameter/src/transport/diameter_sctp.erl @@ -483,12 +483,6 @@ l({sctp, Sock, _RA, _RP, Data} = Msg, #listener{socket = Sock} = S) -> setopts(Sock) end; -%% Transport is asking message to be sent. See send/3 for why the send -%% isn't directly from the transport. -l({send, AssocId, StreamId, Bin}, #listener{socket = Sock} = S) -> - send(Sock, AssocId, StreamId, Bin), - S; - l({'DOWN', MRef, process, TPid, _}, #listener{pending = {_,Q}} = S) -> down(ets:member(Q, TPid), MRef, TPid, S); |