git: 4262ad56a074 - main - acpidump: the acpi_get_fadt_revision() argument is unused

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Fri, 05 Apr 2024 15:18:02 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=4262ad56a074b973f18fee09bb03d52153bd35c2

commit 4262ad56a074b973f18fee09bb03d52153bd35c2
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-04-04 15:42:36 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-04-05 15:17:55 +0000

    acpidump: the acpi_get_fadt_revision() argument is unused
    
    everywhere except i386.
    
    Reviewed by:    markj
    Sponsored by:   Advanced Micro Devices (AMD)
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D44634
---
 usr.sbin/acpi/acpidump/acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/acpi/acpidump/acpi.c b/usr.sbin/acpi/acpidump/acpi.c
index cc2ac6f19cb4..e3190fa98ad4 100644
--- a/usr.sbin/acpi/acpidump/acpi.c
+++ b/usr.sbin/acpi/acpidump/acpi.c
@@ -209,7 +209,7 @@ acpi_print_gas(ACPI_GENERIC_ADDRESS *gas)
 
 /* The FADT revision indicates whether we use the DSDT or X_DSDT addresses. */
 static int
-acpi_get_fadt_revision(ACPI_TABLE_FADT *fadt)
+acpi_get_fadt_revision(ACPI_TABLE_FADT *fadt __unused)
 {
 	int fadt_revision;