From nobody Tue Jun 20 16:29:14 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QlsXV6WBjz4gJT6; Tue, 20 Jun 2023 16:29:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QlsXV5GKHz4KHH; Tue, 20 Jun 2023 16:29:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687278554; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=orXwlP+oeRFCRoMRaW0yKRg+Z/dXanAqYazIzgXHn0c=; b=dDuQO2UhMK2JZqIIEBMfhfOgcJfrcldh5EN4B/3ZUXLUXWE2jQpMM7supilhaL7nuq/ZQn zgQhSxvykV4BAPZ34JBLbgCBWmM9CcN+lKEne0cKsOAdCdjReljXZAqumvPdnr5rkf5M/X 3lFkXKIASrg+8rXI2Lx8rFAkp/2BWTYQFvI1W4dGyZkh+sX30Zw6yXDTJWkCa0DkKenrqW SxyQmebiKMGpncQGbtb9WYEZjUTYmnCRO18qeCMfqA4Vh9KVjEr6LazOmRSn5Ui9b/Aj2M LzkmqqaPakSwL4tekHs/JRQM0Sy1IbeV0qjRkuOCAURl3HjccrwF2iZPYWeS9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687278554; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=orXwlP+oeRFCRoMRaW0yKRg+Z/dXanAqYazIzgXHn0c=; b=TnGYR1as4rOqs8nxXBwpikQcF07VFbRgX20U8V4n5OSixOC+sfGNAA8WomfQirmo4pll1e F374ZjY/T9veiH9KE4LpAs8jt6NkuHdXertJuxYGpPlOJCwRdN6yUPNOhbSMzJaAYs3GdL 5snTNuliCXZeIrDU1EbZi6ovGgVQCST0qfmL7mVeLrfQUCeC30zFtt6zGodbAQfomLSC63 Ps2DsPeFYzORo5niYR6zIhi2kdcL/19fu1pt6H+nP089eC2oACmp2ZiRgIfBWNSFrQb4P6 bfDEoH2/b7Tg6U7g8Vo0cSxq3SsoP4a0oiKzlSD4qwZvmsCajIFiOhEOlZLSbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687278554; a=rsa-sha256; cv=none; b=Ayl/4g9PqPsHKrjHyz00/MxHe+J+3wJDkgrq5KxnwAeeItpMOfBA0jDAWgza6FB2qyMmtk /70m9h321NIB7DvRdj0SDBmmBbo2EoDph0O0doIWj24nAi1/68K40K0J2/g9xdApF+pHaI zNcZ7Gi2geYM9s2UiBAY6Agxj7eLxDSlmDOCzUkUDCphLVh+eSiQDz1xsXOANQ0+5kFMxZ t/rK+0kAnc198lqtnzqqugG+7Jd3M/Icjk0A1J0u7trCzvzVUTp8I0WsCUoPNnNxpPxdRH qlSZKBVOhOniVYaIcRNibkvfMCHolKOCbDCGRAleDs9vc5GBJEzindRvHMYLgg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QlsXV4K5zz15hx; Tue, 20 Jun 2023 16:29:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35KGTEO9045018; Tue, 20 Jun 2023 16:29:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35KGTEek045017; Tue, 20 Jun 2023 16:29:14 GMT (envelope-from git) Date: Tue, 20 Jun 2023 16:29:14 GMT Message-Id: <202306201629.35KGTEek045017@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: e6ef68530b7f - main - libkvm: Remove set but unused variable from ppc64mmu_hpt_init. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e6ef68530b7f9417f0165a9bad714aee12dc1451 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e6ef68530b7f9417f0165a9bad714aee12dc1451 commit e6ef68530b7f9417f0165a9bad714aee12dc1451 Author: John Baldwin AuthorDate: 2023-06-20 16:28:59 +0000 Commit: John Baldwin 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));