summaryrefslogtreecommitdiff
path: root/lib/parser_aux.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parser_aux.h')
-rw-r--r--lib/parser_aux.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/parser_aux.h b/lib/parser_aux.h
index 437f1c8..10b864b 100644
--- a/lib/parser_aux.h
+++ b/lib/parser_aux.h
@@ -58,14 +58,6 @@ char *_asn1_ltostr (long v, char str[LTOSTR_MAX_SIZE]);
asn1_node _asn1_find_up (asn1_node node);
-inline static asn1_node _asn1_get_up(asn1_node node)
-{
- if (node && node->up)
- return node->up;
- else
- return _asn1_find_up(node);
-}
-
int _asn1_change_integer_value (asn1_node node);
int _asn1_expand_object_id (asn1_node node);
@@ -108,10 +100,7 @@ _asn1_set_down (asn1_node node, asn1_node down)
return node;
node->down = down;
if (down)
- {
- down->left = node;
- down->up = node;
- }
+ down->left = node;
return node;
}