The branch main has been updated by obiwac:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=39b8430d25a1674092eae35d4af00d8e5d4d114f

commit 39b8430d25a1674092eae35d4af00d8e5d4d114f
Author:     Aymeric Wibo <[email protected]>
AuthorDate: 2026-09-16 19:27:20 +0000
Commit:     Aymeric Wibo <[email protected]>
CommitDate: 2026-09-16 19:27:23 +0000

    acpi: Fix unused variable error
    
    Fixes:          9b4caca81de2 ("acpi: Don't compile CPU_VENDOR_{AMD,HYGON} 
cases on non-x86_64")
    Sponsored by:   The FreeBSD Foundation
---
 sys/dev/acpica/acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index 795c727aba6f..351969058d72 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -3663,8 +3663,8 @@ do_idle(struct acpi_softc *sc, enum acpi_sleep_state 
*slp_state,
 static void
 check_post_suspend_to_idle(device_t dev)
 {
-       devclass_t dc;
 #if defined(__amd64__)
+       devclass_t dc;
        u_int vendor_id = cpu_vendor_id;
 #else
        u_int vendor_id = 0;

Reply via email to