aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2021-05-31 14:22:30 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2021-07-29 15:01:09 +0000
commitb85044cea6055c005f7a4ac816f5796da49b7ce9 (patch)
tree3257530841689a1df6109b76d69b8772407a57a0
parenteae121b18f5b2599e56c5101c40c9f71856246e7 (diff)
downloadsrc-b85044cea6055c005f7a4ac816f5796da49b7ce9.tar.gz
src-b85044cea6055c005f7a4ac816f5796da49b7ce9.zip
libpmc: remove unused 'isfixed' variable
Reviewed by: gnn, emaste MFC after: 5 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D30529 (cherry picked from commit 0092642f863946ee1edc88fa634887d7c8a54656)
-rw-r--r--lib/libpmc/libpmc_pmu_util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libpmc/libpmc_pmu_util.c b/lib/libpmc/libpmc_pmu_util.c
index 259a2a5faa47..1b2c10e07368 100644
--- a/lib/libpmc/libpmc_pmu_util.c
+++ b/lib/libpmc/libpmc_pmu_util.c
@@ -472,9 +472,7 @@ pmc_pmu_intel_pmcallocate(const char *event_name, struct pmc_op_pmcallocate *pm,
struct pmu_event_desc *ped)
{
struct pmc_md_iap_op_pmcallocate *iap;
- int isfixed;
- isfixed = 0;
iap = &pm->pm_md.pm_iap;
if (strcasestr(event_name, "UNC_") == event_name ||
strcasestr(event_name, "uncore") != NULL) {