Skip to content

Commit 1bd2b6e

Browse files
committed
Eliminate unused argument
Signed-off-by: Dusty DeWeese <[email protected]>
1 parent d073c8d commit 1bd2b6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vpr/src/place/place.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ static float starting_t(t_placer_costs* costs,
353353
t_pl_blocks_to_be_moved& blocks_affected,
354354
const t_placer_opts& placer_opts);
355355

356-
static bool update_state(t_annealing_state* state, float success_rat, const t_placer_opts& placer_opts, const t_placer_costs& costs, const t_annealing_sched& annealing_sched);
356+
static bool update_state(t_annealing_state* state, float success_rat, const t_placer_costs& costs, const t_annealing_sched& annealing_sched);
357357

358358
static void update_rlim(float* rlim, float success_rat, const DeviceGrid& grid);
359359

@@ -813,7 +813,7 @@ void try_place(const t_placer_opts& placer_opts,
813813
print_clb_placement("first_iteration_clb_placement.echo");
814814
}
815815
#endif
816-
} while (update_state(&state, success_rat, placer_opts, costs, annealing_sched));
816+
} while (update_state(&state, success_rat, costs, annealing_sched));
817817
/* Outer loop of the simmulated annealing ends */
818818

819819
auto pre_quench_timing_stats = timing_ctx.stats;
@@ -1206,7 +1206,7 @@ static void update_rlim(float* rlim, float success_rat, const DeviceGrid& grid)
12061206
}
12071207

12081208
/* Update the temperature according to the annealing schedule selected. */
1209-
static bool update_state(t_annealing_state* state, float success_rat, const t_placer_opts& placer_opts, const t_placer_costs& costs, const t_annealing_sched& annealing_sched) {
1209+
static bool update_state(t_annealing_state* state, float success_rat, const t_placer_costs& costs, const t_annealing_sched& annealing_sched) {
12101210
/* Return `false` when the exit criterion is met. */
12111211
if (annealing_sched.type == USER_SCHED) {
12121212
state->t *= annealing_sched.alpha_t;

0 commit comments

Comments
 (0)