diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2024-06-28 13:30:49 +0800 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-06-28 12:55:29 -0700 |
commit | 5484fd2767e4b31ca3320fe1375c37922c132c52 (patch) | |
tree | eb0a8034f05a14b59ea91207a301a996f5f4809d /tools/perf | |
parent | b195701e9f0f78f30d500ada246b3693f26e11ee (diff) |
perf: pmus: Remove unneeded semicolon
./tools/perf/util/pmu.c:1776:49-50: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9443
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: https://lore.kernel.org/r/20240628053049.44521-1-yang.lee@linux.alibaba.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/util/pmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c index 28af48ea803f..986166bc7c78 100644 --- a/tools/perf/util/pmu.c +++ b/tools/perf/util/pmu.c @@ -1790,7 +1790,7 @@ size_t perf_pmu__num_events(struct perf_pmu *pmu) size_t nr; pmu_aliases_parse(pmu); - nr = pmu->sysfs_aliases + pmu->sys_json_aliases;; + nr = pmu->sysfs_aliases + pmu->sys_json_aliases; if (pmu->cpu_aliases_added) nr += pmu->cpu_json_aliases; |