perf metric: remove unneeded semicolon
PATCH 1/1 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]>
--- tools/perf/tests/parse-metric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/tests/parse-metric.c +1 -1
@@ -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 ; }
Signature · 1 line
1.8.3.1
Em Thu, Feb 25, 2021 at 02:07:00PM +0800, Jiapeng Chong escreveu:
Quoted 3 lines
Fix the following coccicheck warnings:
./tools/perf/tests/parse-metric.c:101:2-3: Unneeded semicolon.
Thanks, applied.
- Arnaldo
Quoted 22 lines
Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>--- tools/perf/tests/parse-metric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/perf/tests/parse-metric.c +1
-1@@ -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 ; }Signature · 1 line
1.8.3.1
Signature · 1 line
- Arnaldo