Skip to content

Commit 5484fd2

Browse files
Yang Linamhyung
authored andcommitted
perf: pmus: Remove unneeded semicolon
./tools/perf/util/pmu.c:1776:49-50: Unneeded semicolon Reported-by: Abaci Robot <[email protected]> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9443 Signed-off-by: Yang Li <[email protected]> Reviewed-by: Arnaldo Carvalho de Melo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent b195701 commit 5484fd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/util/pmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@ size_t perf_pmu__num_events(struct perf_pmu *pmu)
17901790
size_t nr;
17911791

17921792
pmu_aliases_parse(pmu);
1793-
nr = pmu->sysfs_aliases + pmu->sys_json_aliases;;
1793+
nr = pmu->sysfs_aliases + pmu->sys_json_aliases;
17941794

17951795
if (pmu->cpu_aliases_added)
17961796
nr += pmu->cpu_json_aliases;

0 commit comments

Comments
 (0)