git: 6f1fe2a0d692 - main - pci_host_generic_acpi: Remove unused variable.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Sat, 09 Apr 2022 00:28:11 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=6f1fe2a0d6928f624ed0827ddd73ff24b262383a

commit 6f1fe2a0d6928f624ed0827ddd73ff24b262383a
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-09 00:25:15 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-09 00:25:15 +0000

    pci_host_generic_acpi: Remove unused variable.
---
 sys/dev/pci/pci_host_generic_acpi.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/dev/pci/pci_host_generic_acpi.c b/sys/dev/pci/pci_host_generic_acpi.c
index 9628517813a9..68c4100b588d 100644
--- a/sys/dev/pci/pci_host_generic_acpi.c
+++ b/sys/dev/pci/pci_host_generic_acpi.c
@@ -141,11 +141,9 @@ pci_host_generic_acpi_parse_resource(ACPI_RESOURCE *res, void *arg)
 {
 	device_t dev = (device_t)arg;
 	struct generic_pcie_acpi_softc *sc;
-	struct rman *rm;
 	rman_res_t min, max, off;
 	int r;
 
-	rm = NULL;
 	sc = device_get_softc(dev);
 	r = sc->base.nranges;
 	switch (res->Type) {