aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_watchdog.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_watchdog.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_watchdog.erl')
-rw-r--r--lib/diameter/src/base/diameter_watchdog.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/diameter/src/base/diameter_watchdog.erl b/lib/diameter/src/base/diameter_watchdog.erl
index de9c4bca33..c7b476a569 100644
--- a/lib/diameter/src/base/diameter_watchdog.erl
+++ b/lib/diameter/src/base/diameter_watchdog.erl
@@ -810,9 +810,6 @@ restart(S) -> %% reconnect has won race with timeout
%% state down rather then initial when receiving notification of an
%% open connection.
-restart({T, Opts, Svc}, S) -> %% put in old code
- restart({T, Opts, Svc, []}, S);
-
restart({{connect, _} = T, Opts, Svc, SvcOpts},
#watchdog{parent = Pid,
restrict = {R,_},
@@ -827,7 +824,7 @@ restart({{connect, _} = T, Opts, Svc, SvcOpts},
%% die. Note that a state machine never enters state REOPEN in this
%% case.
restart({{accept, _}, _, _, _}, #watchdog{restrict = {_, false}}) ->
- stop; %% 'DOWN' was in old code: 'close' was not sent
+ stop;
%% Otherwise hang around until told to die, either by the service or
%% by another watchdog.