aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2023-10-19 13:58:48 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2023-10-19 14:00:31 +0000
commitb5437d6c65e0dfd7b9d681aedbc1d382e092b3d3 (patch)
treeb46ed78b6899ab2c09fa4804341f402d8c6a3d2f /sys
parent24fe0cb84d71a0e9d648c43f92b5c3a730c3855a (diff)
downloadsrc-b5437d6c65e0dfd7b9d681aedbc1d382e092b3d3.tar.gz
src-b5437d6c65e0dfd7b9d681aedbc1d382e092b3d3.zip
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/hwpmc/hwpmc_amd.c1
1 files changed, 0 insertions, 1 deletions
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(),