Skip to content

Commit

Permalink
Remove unnecessary local variable.
Browse files Browse the repository at this point in the history
#xls-build-gardener

PiperOrigin-RevId: 684197751
  • Loading branch information
hzeller authored and copybara-github committed Oct 9, 2024
1 parent 5a6813b commit 10a4ec3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions xls/dev_tools/benchmark_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,6 @@ absl::Status RealMain(std::string_view path) {
/*schedules=*/nullptr, synthesizer.get()));
} else if (benchmark_codegen) {
PipelineScheduleOrGroup schedules = PackagePipelineSchedules();
PipelineScheduleOrGroup* schedules_ptr = nullptr;
if (codegen_flags_proto.generator() == GENERATOR_KIND_PIPELINE) {
XLS_ASSIGN_OR_RETURN(SchedulingOptions scheduling_options,
SetUpSchedulingOptions(
Expand All @@ -841,7 +840,6 @@ absl::Status RealMain(std::string_view path) {
XLS_RETURN_IF_ERROR(AnalyzeAndPrintCriticalPath(
f, effective_clock_period_ps, delay_estimator, query_engine,
&schedules, synthesizer.get()));
schedules_ptr = &schedules;

// Scheduling can change the nodes in f slightly so we need to recompute
// the bdd.
Expand Down

0 comments on commit 10a4ec3

Please sign in to comment.