summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@dashbit.co>2020-10-29 23:53:54 +0100
committerJosé Valim <jose.valim@dashbit.co>2020-10-29 23:53:54 +0100
commit7ae5365d459c45e24a80f4228a406d99281587ea (patch)
treed20b292c0c6d95b5ce4ca6faba140cc14c0d3f6e
parent9b06694ca58646f7f96ba6546dc2beef25b2e3e8 (diff)
downloadelixir-7ae5365d459c45e24a80f4228a406d99281587ea.tar.gz
Remove unused function
-rw-r--r--lib/iex/lib/iex/helpers.ex13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/iex/lib/iex/helpers.ex b/lib/iex/lib/iex/helpers.ex
index c546c6610..362625233 100644
--- a/lib/iex/lib/iex/helpers.ex
+++ b/lib/iex/lib/iex/helpers.ex
@@ -624,19 +624,6 @@ defmodule IEx.Helpers do
IO.puts("#{pad_key(key)}#{format_bytes(value)}")
end
- defp print_allocator(allocated_areas, key, probe) do
- case List.keyfind(allocated_areas, probe, 0) do
- {_, allocated, used} ->
- IO.puts("#{pad_key(key)}#{format_bytes(allocated)} (#{format_bytes(used)} used)")
-
- {_, allocated} ->
- IO.puts("#{pad_key(key)}#{format_bytes(allocated)}")
-
- _ ->
- IO.puts("#{pad_key(key)}N/A")
- end
- end
-
defp format_bytes(bytes) when is_integer(bytes) do
cond do
bytes >= memory_unit(:GB) -> format_bytes(bytes, :GB)