Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2020 14:51:44 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r364870 - stable/12/sys/arm64/acpica
Message-ID:  <202008271451.07REpidL066961@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Thu Aug 27 14:51:44 2020
New Revision: 364870
URL: https://svnweb.freebsd.org/changeset/base/364870

Log:
  MFC r364410:
  Remove an unused parameter from map_table().

Modified:
  stable/12/sys/arm64/acpica/acpi_machdep.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/arm64/acpica/acpi_machdep.c
==============================================================================
--- stable/12/sys/arm64/acpica/acpi_machdep.c	Thu Aug 27 14:50:48 2020	(r364869)
+++ stable/12/sys/arm64/acpica/acpi_machdep.c	Thu Aug 27 14:51:44 2020	(r364870)
@@ -61,7 +61,7 @@ acpi_machdep_quirks(int *quirks)
 }
 
 static void *
-map_table(vm_paddr_t pa, int offset, const char *sig)
+map_table(vm_paddr_t pa, const char *sig)
 {
 	ACPI_TABLE_HEADER *header;
 	vm_offset_t length;
@@ -130,7 +130,7 @@ void *
 acpi_map_table(vm_paddr_t pa, const char *sig)
 {
 
-	return (map_table(pa, 0, sig));
+	return (map_table(pa, sig));
 }
 
 /*
@@ -176,7 +176,7 @@ acpi_find_table(const char *sig)
 				printf("ACPI: RSDP failed extended checksum\n");
 			return (0);
 		}
-		xsdt = map_table(rsdp->XsdtPhysicalAddress, 2, ACPI_SIG_XSDT);
+		xsdt = map_table(rsdp->XsdtPhysicalAddress, ACPI_SIG_XSDT);
 		if (xsdt == NULL) {
 			if (bootverbose)
 				printf("ACPI: Failed to map XSDT\n");
@@ -202,7 +202,7 @@ acpi_find_table(const char *sig)
 	 * Verify that we can map the full table and that its checksum is
 	 * correct, etc.
 	 */
-	table = map_table(addr, 0, sig);
+	table = map_table(addr, sig);
 	if (table == NULL)
 		return (0);
 	acpi_unmap_table(table);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008271451.07REpidL066961>