git: e6ef68530b7f - main - libkvm: Remove set but unused variable from ppc64mmu_hpt_init.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 20 Jun 2023 16:29:14 UTC
The branch main has been updated by jhb:

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

commit e6ef68530b7f9417f0165a9bad714aee12dc1451
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-06-20 16:28:59 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-06-20 16:28:59 +0000

    libkvm: Remove set but unused variable from ppc64mmu_hpt_init.
    
    Reported by:    GCC
---
 lib/libkvm/kvm_minidump_powerpc64_hpt.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/libkvm/kvm_minidump_powerpc64_hpt.c b/lib/libkvm/kvm_minidump_powerpc64_hpt.c
index baa2fd1ebc08..d13f8021a731 100644
--- a/lib/libkvm/kvm_minidump_powerpc64_hpt.c
+++ b/lib/libkvm/kvm_minidump_powerpc64_hpt.c
@@ -253,9 +253,6 @@ static int
 ppc64mmu_hpt_init(kvm_t *kd)
 {
 	struct hpt_data *data;
-	struct minidumphdr *hdr;
-
-	hdr = &kd->vmst->hdr;
 
 	/* Alloc MMU data */
 	data = _kvm_malloc(kd, sizeof(*data));