perf c2c: remove unneeded semicolon
PATCH 1/1 perf c2c: remove unneeded semicolon
Fixes coccicheck warning:
./tools/perf/builtin-c2c.c:1706:2-3: Unneeded semicolon ./tools/perf/builtin-c2c.c:1922:2-3: Unneeded semicolon ./tools/perf/builtin-c2c.c:2948:2-3: Unneeded semicolon
Signed-off-by Chen Zhou <[email protected]>
--- tools/perf/builtin-c2c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
tools/perf/builtin-c2c.c +3 -3
@@ -1703,7 +1703,7 @@ static struct c2c_dimension *get_dimension(const char *name)if (!strcmp (dim->name, name))return dim; - }; + }return NULL ; }
@@ -1919,7 +1919,7 @@ static bool he__display(struct hist_entry *he, struct c2c_stats *stats)FILTER_HITM (tot_hitm);default :break ; - }; + }#undef FILTER_HITM
@@ -2945,7 +2945,7 @@ static int perf_c2c__record(int argc, const char **argv) rec_argv[i++] ="-e" ; rec_argv[i++] =perf_mem_events__name (j); - }; + }if (all_user) rec_argv[i++] ="--all-user" ;
Signature · 1 line
2.7.4