The branch main has been updated by mhorne:

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

commit b5437d6c65e0dfd7b9d681aedbc1d382e092b3d3
Author:     Mitchell Horne <mho...@freebsd.org>
AuthorDate: 2023-10-19 13:58:48 +0000
Commit:     Mitchell Horne <mho...@freebsd.org>
CommitDate: 2023-10-19 14:00:31 +0000

    hwpmc_amd: remove an unused variable
    
    This should fix the LINT builds.
    
    Reported by:    Jenkins
    Sponsored by:   The FreeBSD Foundation
    Fixes:  2c6f474ee824 ("hwpmc_amd: kill of k7 support bits")
---
 sys/dev/hwpmc/hwpmc_amd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/dev/hwpmc/hwpmc_amd.c b/sys/dev/hwpmc/hwpmc_amd.c
index 01a6cf202b4d..d2fb17549990 100644
--- a/sys/dev/hwpmc/hwpmc_amd.c
+++ b/sys/dev/hwpmc/hwpmc_amd.c
@@ -451,7 +451,6 @@ amd_allocate_pmc(int cpu __unused, int ri, struct pmc *pm,
 static int
 amd_release_pmc(int cpu, int ri, struct pmc *pmc __unused)
 {
-       const struct amd_descr *pd __pmcdbg_used;
        struct pmc_hw *phw __diagused;
 
        KASSERT(cpu >= 0 && cpu < pmc_cpu_max(),

Reply via email to