From 0977fdfd9144eca1eed020700c141a2b0fa76983 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 27 Jul 2025 12:15:26 -0700 Subject: [PATCH] finetuneDQSI: drop unused variable cnt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ast_vgatool.c: In function 'finetuneDQSI': ast_vgatool.c:1974:30: warning: unused variable ‘cnt’ [-Wunused-variable] 1974 | ULONG dlli, dqsip, dqidly, cnt; | ^~~ Fixes: 1e3dbbd ("Modify for DRAM Initial Settings") Signed-off-by: Alan Coopersmith Part-of: --- src/ast_vgatool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ast_vgatool.c b/src/ast_vgatool.c index 24be2e0..bd3e7f1 100644 --- a/src/ast_vgatool.c +++ b/src/ast_vgatool.c @@ -1971,7 +1971,7 @@ FINETUNE_DONE: static void finetuneDQSI(PAST2300DRAMParam param) { - ULONG dlli, dqsip, dqidly, cnt; + ULONG dlli, dqsip, dqidly; ULONG reg_mcr18, reg_mcr0c, passcnt[2], diff; ULONG g_dqidly, g_dqsip, g_margin, g_side; unsigned short pass[32][2][2];