Skip to content

Commit 167a46c

Browse files
committed
[lib][rr_graph] remove unlock_storage
1 parent d5a5555 commit 167a46c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

libs/librrgraph/src/base/rr_graph_builder.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -401,13 +401,6 @@ class RRGraphBuilder {
401401
return node_storage_.count_rr_switches(arch_switch_inf, arch_switch_fanins);
402402
}
403403

404-
/** @brief Unlock storage; required to modify an routing resource graph after edge is read */
405-
inline void unlock_storage() {
406-
node_storage_.edges_read_ = false;
407-
node_storage_.partitioned_ = false;
408-
node_storage_.clear_node_first_edge();
409-
}
410-
411404
/** @brief Reserve the lists of nodes, edges, switches etc. to be memory efficient.
412405
* This function is mainly used to reserve memory space inside RRGraph,
413406
* when adding a large number of nodes/edge/switches/segments,

0 commit comments

Comments
 (0)