git: 930c76a733d0 - stable/13 - acpidump: the acpi_get_fadt_revision() argument is unused

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Wed, 17 Apr 2024 08:13:40 UTC
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=930c76a733d098f3fcc515d1e3b44cc35b7c1129

commit 930c76a733d098f3fcc515d1e3b44cc35b7c1129
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-04-04 15:42:36 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-04-17 08:13:17 +0000

    acpidump: the acpi_get_fadt_revision() argument is unused
    
    (cherry picked from commit 4262ad56a074b973f18fee09bb03d52153bd35c2)
---
 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 d9650b9268ec..5005c4bbe630 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;