hwpmc_amd: remove an unused variable

This should fix the LINT builds.

Reported by:	Jenkins
Sponsored by:	The FreeBSD Foundation
Fixes:	2c6f474ee8 ("hwpmc_amd: kill of k7 support bits")
This commit is contained in:
Mitchell Horne 2023-10-19 10:58:48 -03:00
parent 24fe0cb84d
commit b5437d6c65

View file

@ -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(),