board_inspector: Remove dead code in parser.py
A DualNamePath clause is a NamePath that only follows rootchar or prefixpath. Thus, it is never necessary to check if a dot is necessary for separating segments before a DualNamePath. This patch removes the code that conduct that check. Tracked-On: #6287 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
a39f2995ad
commit
523ce8ad31
|
@ -106,8 +106,6 @@ class NameStringFactory(Factory):
|
|||
|
||||
# Object name
|
||||
if ord(char) == grammar.AML_DUAL_NAME_PREFIX:
|
||||
if acc and acc[-1] not in ["\\", "^"]:
|
||||
acc += "."
|
||||
acc += stream.get_fixed_length_string(4)
|
||||
acc += "."
|
||||
acc += stream.get_fixed_length_string(4)
|
||||
|
|
Loading…
Reference in New Issue