aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-11-13 10:30:02 +0100
committerAnders Svensson <[email protected]>2012-11-15 16:07:49 +0100
commit3ce7a87d6a7e096fa1850dbaa0942a919a81955b (patch)
tree8a663f0123c0d5dba6d77e53920e6c714912bf90
parent380a3f0aece61c649efaed45041c8679038891f1 (diff)
downloadotp-3ce7a87d6a7e096fa1850dbaa0942a919a81955b.tar.gz
otp-3ce7a87d6a7e096fa1850dbaa0942a919a81955b.tar.bz2
otp-3ce7a87d6a7e096fa1850dbaa0942a919a81955b.zip
Remove dead clause
Long dead.
-rw-r--r--lib/diameter/src/base/diameter_peer_fsm.erl6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/diameter/src/base/diameter_peer_fsm.erl b/lib/diameter/src/base/diameter_peer_fsm.erl
index ecdb09d34a..4acfd8313b 100644
--- a/lib/diameter/src/base/diameter_peer_fsm.erl
+++ b/lib/diameter/src/base/diameter_peer_fsm.erl
@@ -399,12 +399,6 @@ transition({shutdown, Pid, Reason}, #state{parent = Pid, dpr = false} = S) ->
transition({shutdown, Pid, _}, #state{parent = Pid}) ->
ok;
-%% Request to close the transport connection.
-transition({close = T, Pid}, #state{parent = Pid,
- transport = TPid}) ->
- diameter_peer:close(TPid),
- {stop, T};
-
%% DPA reception has timed out.
transition(dpa_timeout, _) ->
stop;