From 5484fd2767e4b31ca3320fe1375c37922c132c52 Mon Sep 17 00:00:00 2001 From: Yang Li Date: Fri, 28 Jun 2024 13:30:49 +0800 Subject: perf: pmus: Remove unneeded semicolon ./tools/perf/util/pmu.c:1776:49-50: Unneeded semicolon Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9443 Signed-off-by: Yang Li Reviewed-by: Arnaldo Carvalho de Melo Link: https://lore.kernel.org/r/20240628053049.44521-1-yang.lee@linux.alibaba.com Signed-off-by: Namhyung Kim --- tools/perf/util/pmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-58-ga151