git: 0b5c1913b0fe - stable/14 - acpidump: the acpi_get_fadt_revision() argument is unused
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Apr 2024 01:18:41 UTC
The branch stable/14 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=0b5c1913b0fe3eb5c588f7c012f7d12fae1b9333
commit 0b5c1913b0fe3eb5c588f7c012f7d12fae1b9333
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-04-04 15:42:36 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-04-12 01:18:32 +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 c851e97e9e37..9875a4798085 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;