X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=src%2Fbeam_stats_ets_table.erl;h=e310cf356309f8ec4549f13d9fea578e07c8a879;hb=b817f0301d321bdaa97ec97d8d190469e519659b;hp=622c0f28857c20802e7b8ccf525b963d81aed655;hpb=c2d1e9edd58faa8bd5668a08d3cf9c2ff8f22ef4;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).