aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/_Translate.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/dom/_Translate.py')
-rw-r--r--pyGHDL/dom/_Translate.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/pyGHDL/dom/_Translate.py b/pyGHDL/dom/_Translate.py
index cbe707319..adff02041 100644
--- a/pyGHDL/dom/_Translate.py
+++ b/pyGHDL/dom/_Translate.py
@@ -301,8 +301,6 @@ def GetAnonymousTypeFromNode(node: Iir) -> BaseType:
@export
def GetSubtypeIndicationFromNode(node: Iir, entity: str, name: str) -> SubtypeOrSymbol:
subtypeIndicationNode = nodes.Get_Subtype_Indication(node)
- # if subtypeIndicationNode is nodes.Null_Iir:
- # return None
return GetSubtypeIndicationFromIndicationNode(subtypeIndicationNode, entity, name)