perf parse-events: Remove unneeded semicolon
authorbaomingtong001@208suo.com <baomingtong001@208suo.com>
Wed, 14 Jun 2023 08:13:53 +0000 (16:13 +0800)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 20 Jun 2023 23:55:35 +0000 (16:55 -0700)
./tools/perf/util/parse-events.c:1466:2-3: Unneeded semicolon

Signed-off-by: Mingtong Bao <baomingtong001@208suo.com>
Link: https://lore.kernel.org/r/2c733a91717eae93119ba2226420fd8f@208suo.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/parse-events.c

index bc7274641f347487873fca96af05326adad49b05..5dcfbf316bf67e0a4d28695272d800fe8c2b7760 100644 (file)
@@ -1478,7 +1478,7 @@ static int __parse_events_add_numeric(struct parse_events_state *parse_state,
        if (extended_type && (type == PERF_TYPE_HARDWARE || type == PERF_TYPE_HW_CACHE)) {
                assert(perf_pmus__supports_extended_type());
                attr.config |= (u64)extended_type << PERF_PMU_TYPE_SHIFT;
-       };
+       }
 
        if (head_config) {
                if (config_attr(&attr, head_config, parse_state->error,