From ab21f7d424b235bb726744e988377fab1cd242c0 Mon Sep 17 00:00:00 2001 From: Denys Gonchar Date: Tue, 19 Dec 2023 04:59:32 +0100 Subject: [PATCH] removing unused find_all_vars/1 interfaces (to be moved into amoc-arsenal) --- src/amoc_config/amoc_config_utils.erl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/amoc_config/amoc_config_utils.erl b/src/amoc_config/amoc_config_utils.erl index ca801a26..94134934 100644 --- a/src/amoc_config/amoc_config_utils.erl +++ b/src/amoc_config/amoc_config_utils.erl @@ -71,9 +71,3 @@ create_amoc_config_ets() -> protected, {keypos, #module_parameter.name}, {read_concurrency, true}]). - --spec find_all_vars(atom()) -> [any()]. -find_all_vars(Name) -> - AllValues = [application:get_env(App, Name) - || {App, _, _} <- application:loaded_applications()], - [Value || {ok, Value} <- AllValues].