aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-10-05 16:34:32 +0200
committerHans Nilsson <[email protected]>2017-10-12 16:28:20 +0200
commitc3bd1167fdc7a1c2391bec77bcb112e7a90606f0 (patch)
tree6402851a4a63a770b9254f63f41f158d4a2384c7
parent7dcaed64849f830a44da28c0d49e908d173b173d (diff)
downloadotp-c3bd1167fdc7a1c2391bec77bcb112e7a90606f0.tar.gz
otp-c3bd1167fdc7a1c2391bec77bcb112e7a90606f0.tar.bz2
otp-c3bd1167fdc7a1c2391bec77bcb112e7a90606f0.zip
ssh: remove dead code
-rw-r--r--lib/ssh/test/ssh_bench_SUITE.erl11
1 files changed, 0 insertions, 11 deletions
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},
@@ -220,16 +219,6 @@ send_wait_acc(C, Ch, Data) ->
%%%
%%%----------------------------------------------------------------
-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)].
char($-) -> $_;