git: 9aad27931e61 - main - powerpc64/radix mmu: Remove dead variable

Justin Hibbits jhibbits at FreeBSD.org
Mon May 17 13:47:54 UTC 2021


The branch main has been updated by jhibbits:

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

commit 9aad27931e61b7b418bb71a1e83e206ef549df22
Author:     Justin Hibbits <jhibbits at FreeBSD.org>
AuthorDate: 2021-05-10 00:37:42 +0000
Commit:     Justin Hibbits <jhibbits at FreeBSD.org>
CommitDate: 2021-05-17 13:26:39 +0000

    powerpc64/radix mmu: Remove dead variable
    
    Remove dead variable from mmu_radix_extract_and_hold().  Based on
    r352408 for amd64.
---
 sys/powerpc/aim/mmu_radix.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/powerpc/aim/mmu_radix.c b/sys/powerpc/aim/mmu_radix.c
index 01fcc94bafb5..6ab2edf17dd9 100644
--- a/sys/powerpc/aim/mmu_radix.c
+++ b/sys/powerpc/aim/mmu_radix.c
@@ -3456,10 +3456,8 @@ mmu_radix_extract_and_hold(pmap_t pmap, vm_offset_t va, vm_prot_t prot)
 {
 	pml3_entry_t l3e, *l3ep;
 	pt_entry_t pte;
-	vm_paddr_t pa;
 	vm_page_t m;
 
-	pa = 0;
 	m = NULL;
 	CTR4(KTR_PMAP, "%s(%p, %#x, %#x)", __func__, pmap, va, prot);
 	PMAP_LOCK(pmap);


More information about the dev-commits-src-main mailing list