summaryrefslogtreecommitdiff
path: root/config/fdi2iclass.py
diff options
context:
space:
mode:
authorKonstantin Kharlamov <Hi-Angel@yandex.ru>2019-03-24 02:28:08 +0300
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-04-02 18:06:30 +0000
commit1eddcbe5c4b3d7beaeca8808e6a99472cc895652 (patch)
tree198e0a18ed14bbedda2309cdcfe021cefa367b96 /config/fdi2iclass.py
parentcd9d32c289f8d437ac11c4b22e02dda51da985e9 (diff)
fdi2iclass: remove unused local variable
Fixes LGTM warning "The value assigned to local variable 'children' is never used." Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
Diffstat (limited to 'config/fdi2iclass.py')
-rwxr-xr-xconfig/fdi2iclass.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/config/fdi2iclass.py b/config/fdi2iclass.py
index 36ef3801b..840d36f5a 100755
--- a/config/fdi2iclass.py
+++ b/config/fdi2iclass.py
@@ -184,9 +184,6 @@ def parse_fdi(fdi):
# find all <match> leaf nodes
num = 0
for match_node in fdi.getElementsByTagName('match'):
- children = set([n.tagName for n in match_node.childNodes
- if n.nodeType == xml.dom.minidom.Node.ELEMENT_NODE])
-
# see if there are any options at this level
(driver, ignore, options) = parse_options(match_node)
if not driver and not ignore and not options: