diff options
author | Lukas Larsson <[email protected]> | 2011-07-05 17:26:02 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-08-01 16:38:19 +0200 |
commit | 7aa1f823956480d3e5f03ca1a7e14f5a48c041dd (patch) | |
tree | a6c94b40e8adcd7dd5009c90f28aec9c651852c3 /lib/asn1/src/asn1rt.erl | |
parent | 96bd7dd3b031f541158bac21df26b6a77f809909 (diff) | |
download | otp-7aa1f823956480d3e5f03ca1a7e14f5a48c041dd.tar.gz otp-7aa1f823956480d3e5f03ca1a7e14f5a48c041dd.tar.bz2 otp-7aa1f823956480d3e5f03ca1a7e14f5a48c041dd.zip |
Remove all modules relating to drivers and make all functions obsolete.
Diffstat (limited to 'lib/asn1/src/asn1rt.erl')
-rw-r--r-- | lib/asn1/src/asn1rt.erl | 36 |
1 files changed, 5 insertions, 31 deletions
diff --git a/lib/asn1/src/asn1rt.erl b/lib/asn1/src/asn1rt.erl index 9ef68efab5..12f3e34edc 100644 --- a/lib/asn1/src/asn1rt.erl +++ b/lib/asn1/src/asn1rt.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1997-2009. All Rights Reserved. +%% Copyright Ericsson AB 1997-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -46,38 +46,12 @@ decode(Module,Type,Bytes) -> Result end. -%% asn1-1.6.8.1 -%% load_driver() -> -%% asn1rt_driver_handler:load_driver(), -%% receive -%% driver_ready -> -%% ok; -%% Err={error,_Reason} -> -%% Err; -%% Error -> -%% {error,Error} -%% end. - -%% asn1-1.6.9 - load_driver() -> - case catch asn1rt_driver_handler:load_driver() of - ok -> - ok; - {error,{already_started,asn1}} -> - ok; - Err -> - {error,Err} - end. - +%% Remove in R16A +load_driver() -> + ok. unload_driver() -> - case catch asn1rt_driver_handler:unload_driver() of - ok -> - ok; - Error -> - {error,Error} - end. - + ok. info(Module) -> case catch apply(Module,info,[]) of |