[PATCH] hipe: remove unused fun in erl_bif_types

Tuncer Ayaz <>
Sat Nov 27 02:06:44 CET 2010


Remove t_file_open_option() as it is unused since commit 6751329.
---
 lib/hipe/cerl/erl_bif_types.erl |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/lib/hipe/cerl/erl_bif_types.erl b/lib/hipe/cerl/erl_bif_types.erl
index 696414e..cf96643 100644
--- a/lib/hipe/cerl/erl_bif_types.erl
+++ b/lib/hipe/cerl/erl_bif_types.erl
@@ -5000,19 +5000,6 @@ t_file_name() ->
 	 %% DeepList = [char() | atom() | DeepList] -- approximation below
 	 t_list(t_sup([t_atom(), t_string(), t_list()]))]).
 
-t_file_open_option() ->
-  t_sup([t_atom('read'),
-	 t_atom('write'),
-	 t_atom('append'),
-	 t_atom('raw'),
-	 t_atom('binary'),
-	 t_atom('delayed_write'),
-	 t_atom('read_ahead'),
-	 t_atom('compressed'),
-	 t_tuple([t_atom('delayed_write'),
-		  t_pos_integer(), t_non_neg_integer()]),
-	 t_tuple([t_atom('read_ahead'), t_pos_integer()])]).
-
 %% This lists all Posix errors that can occur in file:*/* functions
 t_file_posix_error() ->
   t_sup([t_atom('eacces'),


More information about the erlang-patches mailing list