Skip to content

Commit 240de69

Browse files
baomingtong001@208suo.comnamhyung
authored andcommitted
perf parse-events: Remove unneeded semicolon
./tools/perf/util/parse-events.c:1466:2-3: Unneeded semicolon Signed-off-by: Mingtong Bao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent bc06026 commit 240de69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/util/parse-events.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,7 @@ static int __parse_events_add_numeric(struct parse_events_state *parse_state,
14781478
if (extended_type && (type == PERF_TYPE_HARDWARE || type == PERF_TYPE_HW_CACHE)) {
14791479
assert(perf_pmus__supports_extended_type());
14801480
attr.config |= (u64)extended_type << PERF_PMU_TYPE_SHIFT;
1481-
};
1481+
}
14821482

14831483
if (head_config) {
14841484
if (config_attr(&attr, head_config, parse_state->error,

0 commit comments

Comments
 (0)