git: e65868ddd438 - main - acpidump: Remove set but unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Jun 2023 19:39:14 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=e65868ddd4383eca7bfb1a180d1e87cd568df984
commit e65868ddd4383eca7bfb1a180d1e87cd568df984
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-06-20 19:33:37 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-06-20 19:33:37 +0000
acpidump: Remove set but unused variable.
ACPICA's table dumper doesn't try to dump this subtable's contents
either.
Reported by: GCC
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D40657
---
usr.sbin/acpi/acpidump/acpi.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/usr.sbin/acpi/acpidump/acpi.c b/usr.sbin/acpi/acpidump/acpi.c
index a70d83ccbd41..1faff4a40877 100644
--- a/usr.sbin/acpi/acpidump/acpi.c
+++ b/usr.sbin/acpi/acpidump/acpi.c
@@ -1583,7 +1583,6 @@ acpi_print_nfit(ACPI_NFIT_HEADER *nfit)
ACPI_NFIT_SYSTEM_ADDRESS *sysaddr;
ACPI_NFIT_MEMORY_MAP *mmap;
ACPI_NFIT_INTERLEAVE *ileave;
- ACPI_NFIT_SMBIOS *smbios;
ACPI_NFIT_CONTROL_REGION *ctlreg;
ACPI_NFIT_DATA_REGION *datareg;
ACPI_NFIT_FLUSH_ADDRESS *fladdr;
@@ -1661,7 +1660,6 @@ acpi_print_nfit(ACPI_NFIT_HEADER *nfit)
}
break;
case ACPI_NFIT_TYPE_SMBIOS:
- smbios = (ACPI_NFIT_SMBIOS *)nfit;
/* XXX smbios->Data[x] output is not supported */
break;
case ACPI_NFIT_TYPE_CONTROL_REGION: