aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-02-26 12:39:13 +0100
committerHans Nilsson <[email protected]>2018-03-16 20:14:56 +0100
commit95d5f3022d6fa5aa74205c214b31f9b747530265 (patch)
tree662e27a7d4392000fae9f037fdc64a6992c9f24a /lib
parentd171399bb5a0e9f4c6029564ece4fbf89f3c76f8 (diff)
downloadotp-95d5f3022d6fa5aa74205c214b31f9b747530265.tar.gz
otp-95d5f3022d6fa5aa74205c214b31f9b747530265.tar.bz2
otp-95d5f3022d6fa5aa74205c214b31f9b747530265.zip
ssh: Removed unused sshc_sup:stop_child/1
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh/src/sshc_sup.erl9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/ssh/src/sshc_sup.erl b/lib/ssh/src/sshc_sup.erl
index fd4d8a3c07..f4b39dbbdc 100644
--- a/lib/ssh/src/sshc_sup.erl
+++ b/lib/ssh/src/sshc_sup.erl
@@ -27,7 +27,7 @@
-behaviour(supervisor).
--export([start_link/0, start_child/1, stop_child/1]).
+-export([start_link/0, start_child/1]).
%% Supervisor callback
-export([init/1]).
@@ -43,13 +43,6 @@ start_link() ->
start_child(Args) ->
supervisor:start_child(?MODULE, Args).
-stop_child(Client) ->
- spawn(fun() ->
- ClientSup = whereis(?SSHC_SUP),
- supervisor:terminate_child(ClientSup, Client)
- end),
- ok.
-
%%%=========================================================================
%%% Supervisor callback
%%%=========================================================================