aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_traffic.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-06-18 01:44:58 +0200
committerAnders Svensson <[email protected]>2015-06-20 15:12:05 +0200
commit2ee2148bf9478ab4a1c8ec715ccc3579e19a6d11 (patch)
tree06fbee950e2f8d778480007f987c6deaa04eaf82 /lib/diameter/src/base/diameter_traffic.erl
parent62e45935d2fee09cb75106dc66a60ad8739cb4ba (diff)
downloadotp-2ee2148bf9478ab4a1c8ec715ccc3579e19a6d11.tar.gz
otp-2ee2148bf9478ab4a1c8ec715ccc3579e19a6d11.tar.bz2
otp-2ee2148bf9478ab4a1c8ec715ccc3579e19a6d11.zip
Remove dead upgrade-related code
Not needed with the parent commit's restart_application.
Diffstat (limited to 'lib/diameter/src/base/diameter_traffic.erl')
-rw-r--r--lib/diameter/src/base/diameter_traffic.erl14
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/diameter/src/base/diameter_traffic.erl b/lib/diameter/src/base/diameter_traffic.erl
index eb4bbae931..46d63fa38d 100644
--- a/lib/diameter/src/base/diameter_traffic.erl
+++ b/lib/diameter/src/base/diameter_traffic.erl
@@ -97,9 +97,6 @@
%% # make_recvdata/1
%% ---------------------------------------------------------------------------
-make_recvdata([SvcName, PeerT, Apps, {_,_} = Mask | _]) -> %% from old code
- make_recvdata([SvcName, PeerT, Apps, [{sequence, Mask}]]);
-
make_recvdata([SvcName, PeerT, Apps, SvcOpts | _]) ->
{_,_} = Mask = proplists:get_value(sequence, SvcOpts),
#recvdata{service_name = SvcName,
@@ -300,13 +297,7 @@ recv_request(TPid,
RecvData),
TPid,
Dict0,
- RecvData);
-
-recv_request(TPid, Pkt, Dict0, RecvData) -> %% from old code
- recv_request(TPid,
- Pkt,
- Dict0,
- #recvdata{} = erlang:append_element(RecvData, [])).
+ RecvData).
%% recv_R/5
@@ -1641,9 +1632,6 @@ pick_peer(SvcName,
Filter,
Xtra})).
-pick({{_,_,_} = Transport, Mask}) -> %% from old code; dialyzer complains
- {Transport, Mask, []}; %% about this
-
pick(false) ->
{error, no_connection};