From 456460cd243cfc49423373cd8c0035ecc523bf7e Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 11 Jul 2024 22:19:59 +0530 Subject: solver_greedy/solver_report: remove redundant data --- src/solver_greedy.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/solver_greedy.c b/src/solver_greedy.c index 9b3e150..7b7ccaa 100644 --- a/src/solver_greedy.c +++ b/src/solver_greedy.c @@ -83,17 +83,13 @@ int solver_greedy(struct job_clist *q, int32_t *max_build, struct job **job) if (!evanix_opts.solver_report) continue; - printf("ℹ️ cost: %2d, conformity: %.2f <-> %s -> %s\n", - job_cost(j), conformity_cur, j->name, j->drv_path); + printf("ℹ️ cost: %2d, conformity: %.2f -> %s\n", + job_cost(j), conformity_cur, j->drv_path); } if (selected == NULL) return -ESRCH; - if (evanix_opts.solver_report) - printf("✅ cost: %2d, conformity: %.2f <-> %s -> %s\n", - job_cost(selected), conformity_max, selected->name, - selected->drv_path); *max_build -= job_cost(selected); *job = selected; return 0; -- cgit v1.2.3