X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=src%2Fbeam_stats_ets_table.erl;h=e310cf356309f8ec4549f13d9fea578e07c8a879;hb=7c381eb2b650aa0219b8c489dfc2a377f92a2a52;hp=622c0f28857c20802e7b8ccf525b963d81aed655;hpb=aa4143aa361a537ab11a8145846bd4ddfad1f56e;p=beam_stats.git diff --git a/src/beam_stats_ets_table.erl b/src/beam_stats_ets_table.erl index 622c0f2..e310cf3 100644 --- a/src/beam_stats_ets_table.erl +++ b/src/beam_stats_ets_table.erl @@ -9,7 +9,6 @@ -export( [ of_id/1 - , id_to_bin/1 ]). -type id() :: @@ -35,10 +34,3 @@ of_id(ID) -> , size = beam_stats_source:ets_info(ID, size) , memory = NumberOfBytes }. - --spec id_to_bin(atom() | ets:tid()) -> - binary(). -id_to_bin(ID) when is_atom(ID) -> - atom_to_binary(ID, latin1); -id_to_bin(ID) when is_integer(ID) -> - integer_to_binary(ID).