mirror of https://github.com/VLSIDA/OpenRAM.git
Remove unused local variable
This commit is contained in:
parent
39a66fcb87
commit
7531e38cad
|
|
@ -257,7 +257,6 @@ class router(router_tech):
|
||||||
the layout.
|
the layout.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
last_added = path[0]
|
|
||||||
nodes = [path[0]]
|
nodes = [path[0]]
|
||||||
direction = path[0].get_direction(path[1])
|
direction = path[0].get_direction(path[1])
|
||||||
candidate = path[1]
|
candidate = path[1]
|
||||||
|
|
@ -269,7 +268,6 @@ class router(router_tech):
|
||||||
if direction == current_direction:
|
if direction == current_direction:
|
||||||
candidate = node
|
candidate = node
|
||||||
else:
|
else:
|
||||||
last_added = candidate
|
|
||||||
nodes.append(candidate)
|
nodes.append(candidate)
|
||||||
direction = current_direction
|
direction = current_direction
|
||||||
candidate = node
|
candidate = node
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue