diff options
| author | Jiapeng Chong <[email protected]> | 2021-02-25 14:07:00 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-03-03 12:52:15 -0300 |
| commit | 81db00a4ea625c88925b00df9673472bd1b8c77f (patch) | |
| tree | 0589ef41282c9af82e36c8ecec59741bc440d8e3 | |
| parent | 8e1488a46dcf73b1f1916d95421e303dbf773fb4 (diff) | |
perf metric: Remove unneeded semicolon
Fix the following coccicheck warnings:
./tools/perf/tests/parse-metric.c:101:2-3: Unneeded semicolon.
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/1614233220-67326-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
| -rw-r--r-- | tools/perf/tests/parse-metric.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/parse-metric.c b/tools/perf/tests/parse-metric.c index 6dc1db1626ad..55bf52e588be 100644 --- a/tools/perf/tests/parse-metric.c +++ b/tools/perf/tests/parse-metric.c @@ -98,7 +98,7 @@ static u64 find_value(const char *name, struct value *values) if (!strcmp(name, v->event)) return v->val; v++; - }; + } return 0; } |