arm64/mm: Drop idmap_pg_end[] declaration

Message ID 20221116084302.320685-1-anshuman.khandual@arm.com
State New
Headers
Series arm64/mm: Drop idmap_pg_end[] declaration |

Commit Message

Anshuman Khandual Nov. 16, 2022, 8:43 a.m. UTC
  idmap_pg_end[] is not used anywhere, hence just drop its declaration.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
---
This applies on v6.1-rc5

 arch/arm64/include/asm/pgtable.h | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Will Deacon Nov. 18, 2022, 7:40 p.m. UTC | #1
On Wed, 16 Nov 2022 14:13:02 +0530, Anshuman Khandual wrote:
> idmap_pg_end[] is not used anywhere, hence just drop its declaration.
> 
> 

Applied to arm64 (for-next/trivial), thanks!

[1/1] arm64/mm: Drop idmap_pg_end[] declaration
      https://git.kernel.org/arm64/c/d3d10f0d370c

Cheers,
  

Patch

diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h
index fe76e5823d91..d80622ed5b75 100644
--- a/arch/arm64/include/asm/pgtable.h
+++ b/arch/arm64/include/asm/pgtable.h
@@ -609,7 +609,6 @@  extern pgd_t init_pg_dir[PTRS_PER_PGD];
 extern pgd_t init_pg_end[];
 extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
 extern pgd_t idmap_pg_dir[PTRS_PER_PGD];
-extern pgd_t idmap_pg_end[];
 extern pgd_t tramp_pg_dir[PTRS_PER_PGD];
 extern pgd_t reserved_pg_dir[PTRS_PER_PGD];