mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
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
This commit is contained in:
parent
bc1a6a9d69
commit
0092642f86
@ -472,9 +472,7 @@ pmc_pmu_intel_pmcallocate(const char *event_name, struct pmc_op_pmcallocate *pm,
|
|||||||
struct pmu_event_desc *ped)
|
struct pmu_event_desc *ped)
|
||||||
{
|
{
|
||||||
struct pmc_md_iap_op_pmcallocate *iap;
|
struct pmc_md_iap_op_pmcallocate *iap;
|
||||||
int isfixed;
|
|
||||||
|
|
||||||
isfixed = 0;
|
|
||||||
iap = &pm->pm_md.pm_iap;
|
iap = &pm->pm_md.pm_iap;
|
||||||
if (strcasestr(event_name, "UNC_") == event_name ||
|
if (strcasestr(event_name, "UNC_") == event_name ||
|
||||||
strcasestr(event_name, "uncore") != NULL) {
|
strcasestr(event_name, "uncore") != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user