From c3bd1167fdc7a1c2391bec77bcb112e7a90606f0 Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Thu, 5 Oct 2017 16:34:32 +0200 Subject: ssh: remove dead code --- lib/ssh/test/ssh_bench_SUITE.erl | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lib/ssh') diff --git a/lib/ssh/test/ssh_bench_SUITE.erl b/lib/ssh/test/ssh_bench_SUITE.erl index cd0fe23f4a..39cb24f52c 100644 --- a/lib/ssh/test/ssh_bench_SUITE.erl +++ b/lib/ssh/test/ssh_bench_SUITE.erl @@ -57,7 +57,6 @@ init_per_suite(Config) -> ok -> DataSize = 1000000, SystemDir = proplists:get_value(data_dir, Config), -%%% Algs = insert_none(ssh:default_algorithms()), Algs = ssh:default_algorithms(), {_ServerPid, _Host, Port} = ssh_test_lib:daemon([{system_dir, SystemDir}, @@ -219,16 +218,6 @@ send_wait_acc(C, Ch, Data) -> %%% Private %%% -%%%---------------------------------------------------------------- -insert_none(L) -> - lists:foldl(fun insert_none/2, [], L). - -insert_none({T,L}, Acc) when T==cipher ; - T==mac -> - [{T, [{T1,L1++[none]} || {T1,L1} <- L]} | Acc]; -insert_none(_, Acc) -> - Acc. - %%%---------------------------------------------------------------- mk_name(Name) -> [char(C) || C <- lists:concat(Name)]. -- cgit v1.2.3