mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-22 14:17:35 +02:00
Remove unused local variable
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user