From b5437d6c65e0dfd7b9d681aedbc1d382e092b3d3 Mon Sep 17 00:00:00 2001 From: Mitchell Horne Date: Thu, 19 Oct 2023 10:58:48 -0300 Subject: [PATCH] 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 01a6cf202b4..d2fb1754999 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(),