From 7ae5365d459c45e24a80f4228a406d99281587ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 29 Oct 2020 23:53:54 +0100 Subject: Remove unused function --- lib/iex/lib/iex/helpers.ex | 13 ------------- 1 file changed, 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) -- cgit v1.2.1