Skip to content

Commit 9b247d0

Browse files
committed
remove max_segment_length since it is not used
1 parent f931302 commit 9b247d0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vpr/src/route/segment_stats.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,13 @@ void get_segment_usage_stats(std::vector<t_segment_inf>& segment_inf) {
2020
* are counted as full-length segments (e.g. length 4 even if the last 2 *
2121
* units of wire were chopped off by the chip edge). */
2222

23-
int max_segment_length;
2423
RRIndexedDataId cost_index;
2524
float utilization;
2625

2726
auto& device_ctx = g_vpr_ctx.device();
2827
const auto& rr_graph = device_ctx.rr_graph;
2928
auto& route_ctx = g_vpr_ctx.routing();
3029

31-
max_segment_length = 0;
3230
int max_segment_name_length = 0;
3331
std::map<e_parallel_axis, std::map<int, int>> directed_occ_by_length = {
3432
{X_AXIS, std::map<int, int>()},

0 commit comments

Comments
 (0)