build: remove some dead code

This commit is contained in:
wm4 2017-09-19 18:34:36 +02:00
parent b881881dbd
commit 0169da86df
1 changed files with 0 additions and 7 deletions

View File

@ -173,13 +173,6 @@ def check_dependency_expr(expr, deps):
# 1. the first missing dep of a case that has missing deps only
# 2. the first conflicting dep at all
def do_op(ast, op, cb):
if isinstance(ast, AstOp) and ast.op == op:
for sub in ast.sub:
cb(sub)
else:
cb(ast)
def get_sub_list(node, op):
if isinstance(node, AstOp) and node.op == op:
return node.sub