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>
This commit is contained in:
parent
b195701e9f
commit
5484fd2767
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user