git: 1d3c23676de3 - main - arm64, riscv: remove unused declaration

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Fri, 24 May 2024 13:55:41 UTC
The branch main has been updated by mhorne:

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

commit 1d3c23676de33762fd7fc2e3d890fd14738d3ee6
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2024-05-24 13:53:43 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2024-05-24 13:55:24 +0000

    arm64, riscv: remove unused declaration
    
    It is inherited from arm, where the global exists and is used. No
    functional change.
    
    Reviewed by:    markj
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D45323
---
 sys/arm64/include/vmparam.h | 1 -
 sys/riscv/include/vmparam.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/sys/arm64/include/vmparam.h b/sys/arm64/include/vmparam.h
index 83c55913f56e..ffa5a538504a 100644
--- a/sys/arm64/include/vmparam.h
+++ b/sys/arm64/include/vmparam.h
@@ -301,7 +301,6 @@
 extern vm_paddr_t dmap_phys_base;
 extern vm_paddr_t dmap_phys_max;
 extern vm_offset_t dmap_max_addr;
-extern vm_offset_t vm_max_kernel_address;
 
 #endif
 
diff --git a/sys/riscv/include/vmparam.h b/sys/riscv/include/vmparam.h
index 18fd6a28308b..d2014654b691 100644
--- a/sys/riscv/include/vmparam.h
+++ b/sys/riscv/include/vmparam.h
@@ -240,7 +240,6 @@
 extern vm_paddr_t dmap_phys_base;
 extern vm_paddr_t dmap_phys_max;
 extern vm_offset_t dmap_max_addr;
-extern vm_offset_t vm_max_kernel_address;
 extern vm_offset_t init_pt_va;
 #endif