Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2021 15:25:22 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: b85044cea605 - stable/13 - libpmc: remove unused 'isfixed' variable
Message-ID:  <202107291525.16TFPM4s009778@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mhorne:

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

commit b85044cea6055c005f7a4ac816f5796da49b7ce9
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2021-05-31 14:22:30 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2021-07-29 15:01:09 +0000

    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)
---
 lib/libpmc/libpmc_pmu_util.c | 2 --
 1 file changed, 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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107291525.16TFPM4s009778>