aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_check.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-08-22 10:15:04 +0200
committerBjörn Gustavsson <[email protected]>2014-09-01 14:37:14 +0200
commitf4ac66dc45dff2b0e6a7b2abdc24fd5ffb1c53fa (patch)
treee06a1084049a48739748daee2ff0d7fb4f10527f /lib/asn1/src/asn1ct_check.erl
parenta1260b2ffa60581ce3af0728320b593cca3fd7b0 (diff)
downloadotp-f4ac66dc45dff2b0e6a7b2abdc24fd5ffb1c53fa.tar.gz
otp-f4ac66dc45dff2b0e6a7b2abdc24fd5ffb1c53fa.tar.bz2
otp-f4ac66dc45dff2b0e6a7b2abdc24fd5ffb1c53fa.zip
Remove unused code for ABSTRACT-SYNTAX and TYPE-IDENTIFIER
Before classes were fully implemented, there was support for ABSTRACT-SYNTAX and TYPE-IDENTIFIER. Some of that code is still there and is no longer used. Get rid of it and correct comments.
Diffstat (limited to 'lib/asn1/src/asn1ct_check.erl')
-rw-r--r--lib/asn1/src/asn1ct_check.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/asn1/src/asn1ct_check.erl b/lib/asn1/src/asn1ct_check.erl
index 1fea80506e..265f6554e5 100644
--- a/lib/asn1/src/asn1ct_check.erl
+++ b/lib/asn1/src/asn1ct_check.erl
@@ -3640,10 +3640,7 @@ governor_category(S, #'Externaltypereference'{}=Ref) ->
{class,#'Externaltypereference'{pos=Pos,module=Mod,type=Name}};
none ->
type
- end;
-governor_category(_,Class)
- when Class == 'TYPE-IDENTIFIER'; Class == 'ABSTRACT-SYNTAX' ->
- class.
+ end.
%% parameter_name_style(Param,Data) -> Result
%% gets the Parameter and the name of the Data and if it exists tells