perf symbol: Remove unneeded semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 11 Nov 2025 05:44:15 +0000 (13:44 +0800)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 11 Nov 2025 06:22:16 +0000 (22:22 -0800)
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/synthetic-events.c

index fcd1fd1..5aa44c4 100644 (file)
@@ -389,7 +389,7 @@ static void perf_record_mmap2__read_build_id(struct perf_record_mmap2 *event,
                dso_id.ino_generation = event->ino_generation;
                dso_id.mmap2_valid = true;
                dso_id.mmap2_ino_generation_valid = true;
-       };
+       }
 
        dso = dsos__findnew_id(&machine->dsos, event->filename, &dso_id);
        if (dso && dso__has_build_id(dso)) {