summaryrefslogtreecommitdiff
path: root/lib/snmp
diff options
context:
space:
mode:
authorMicael Karlberg <bmk@erlang.org>2021-03-23 13:55:13 +0100
committerMicael Karlberg <bmk@erlang.org>2021-03-26 10:53:21 +0100
commit9fb0c010d5100ddc7ef2b629739ce4c36fb93f7a (patch)
tree3ad31844aaccd521ff812965c97303b37499d73c /lib/snmp
parentd61a06400e2c2a900a1316250a32e54520d5201e (diff)
downloaderlang-9fb0c010d5100ddc7ef2b629739ce4c36fb93f7a.tar.gz
[snmp|agent] Removed deprecated function marked for 24.0 removal
OTP-17049
Diffstat (limited to 'lib/snmp')
-rw-r--r--lib/snmp/src/agent/snmpa.erl15
1 files changed, 1 insertions, 14 deletions
diff --git a/lib/snmp/src/agent/snmpa.erl b/lib/snmp/src/agent/snmpa.erl
index 729789d487..995e6d627d 100644
--- a/lib/snmp/src/agent/snmpa.erl
+++ b/lib/snmp/src/agent/snmpa.erl
@@ -39,7 +39,7 @@
int_to_enum/2, int_to_enum/3,
enum_to_int/2, enum_to_int/3,
- info/0, info/1, old_info_format/1,
+ info/0, info/1,
load_mib/1, load_mib/2,
load_mibs/1, load_mibs/2, load_mibs/3,
unload_mib/1, unload_mib/2,
@@ -125,9 +125,6 @@
mib_storage_options/0
]).
--deprecated([{old_info_format, 1, "use \"new\" format instead"}]).
-
-
-include("snmpa_atl.hrl").
-include("snmpa_internal.hrl").
-include_lib("snmp/include/snmp_types.hrl"). % type of me needed.
@@ -280,16 +277,6 @@ get_next(Agent, Vars, Context) -> snmpa_agent:get_next(Agent, Vars, Context).
info() -> info(snmp_master_agent).
info(Agent) -> snmpa_agent:info(Agent).
-old_info_format(Info) when is_list(Info) ->
- {value, Vsns} = lists:keysearch(vsns, 1, Info),
- {value, {_, MibInfo}} = lists:keysearch(mib_server, 1, Info),
- {value, SAa} = lists:keysearch(subagents, 1, MibInfo),
- {value, LoadedMibs} = lists:keysearch(loaded_mibs, 1, MibInfo),
- {value, TreeSz} = lists:keysearch(tree_size_bytes, 1, MibInfo),
- {value, ProcMem} = lists:keysearch(process_memory, 1, MibInfo),
- {value, DbMem} = lists:keysearch(db_memory, 1, MibInfo),
- [Vsns, SAa, LoadedMibs, TreeSz, ProcMem, DbMem].
-
%% -