git: 1b1c7e088c58 - stable/14 - arm64, riscv: removed unused struct pv_addr

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Mon, 27 May 2024 14:43:38 UTC
The branch stable/14 has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=1b1c7e088c58ed610a7bdc3d068ac41b532827fc

commit 1b1c7e088c58ed610a7bdc3d068ac41b532827fc
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2024-05-24 13:53:14 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2024-05-27 14:41:49 +0000

    arm64, riscv: removed unused struct pv_addr
    
    No functional change.
    
    Reviewed by:    markj
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D45322
    
    (cherry picked from commit b5e17840de65ff196b2398211b68ce96d6919f2c)
---
 sys/arm64/include/pmap.h | 10 ----------
 sys/riscv/include/pmap.h | 10 ----------
 2 files changed, 20 deletions(-)

diff --git a/sys/arm64/include/pmap.h b/sys/arm64/include/pmap.h
index 4b4d47ccc7af..a250b5a20420 100644
--- a/sys/arm64/include/pmap.h
+++ b/sys/arm64/include/pmap.h
@@ -69,16 +69,6 @@ struct md_page {
 	vm_memattr_t		pv_memattr;
 };
 
-/*
- * This structure is used to hold a virtual<->physical address
- * association and is used mostly by bootstrap code
- */
-struct pv_addr {
-	SLIST_ENTRY(pv_addr) pv_list;
-	vm_offset_t	pv_va;
-	vm_paddr_t	pv_pa;
-};
-
 enum pmap_stage {
 	PM_INVALID,
 	PM_STAGE1,
diff --git a/sys/riscv/include/pmap.h b/sys/riscv/include/pmap.h
index d65935c4ce7f..e10cbacb6e1f 100644
--- a/sys/riscv/include/pmap.h
+++ b/sys/riscv/include/pmap.h
@@ -67,16 +67,6 @@ struct md_page {
 	vm_memattr_t		pv_memattr;
 };
 
-/*
- * This structure is used to hold a virtual<->physical address
- * association and is used mostly by bootstrap code
- */
-struct pv_addr {
-	SLIST_ENTRY(pv_addr) pv_list;
-	vm_offset_t	pv_va;
-	vm_paddr_t	pv_pa;
-};
-
 struct pmap {
 	struct mtx		pm_mtx;
 	struct pmap_statistics	pm_stats;	/* pmap statictics */