Messages in this thread Patch in this message | | | From | Jiapeng Chong <> | Subject | [PATCH] perf metric: remove unneeded semicolon | Date | Thu, 25 Feb 2021 14:07:00 +0800 |
| |
Fix the following coccicheck warnings:
./tools/perf/tests/parse-metric.c:101:2-3: Unneeded semicolon.
Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> --- tools/perf/tests/parse-metric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/tests/parse-metric.c b/tools/perf/tests/parse-metric.c index 6dc1db1..55bf52e 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; } -- 1.8.3.1
| |