git: bdfd8f68faaa - stable/14 - arm64, riscv: remove unused declaration

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

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

commit bdfd8f68faaaa1339b08afb438e217a26a6f7bdd
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2024-05-24 13:53:43 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2024-05-27 14:41:49 +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
    
    (cherry picked from commit 1d3c23676de33762fd7fc2e3d890fd14738d3ee6)
---
 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 fee8e01f72c4..b37bd823878d 100644
--- a/sys/arm64/include/vmparam.h
+++ b/sys/arm64/include/vmparam.h
@@ -273,7 +273,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 9a710b667c78..2198245d5b20 100644
--- a/sys/riscv/include/vmparam.h
+++ b/sys/riscv/include/vmparam.h
@@ -242,7 +242,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