summaryrefslogtreecommitdiff
path: root/tools/counter
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2023-12-20 08:51:43 +0800
committerWilliam Breathitt Gray <william.gray@linaro.org>2023-12-20 11:43:31 -0500
commitb7760cf94d4f2665bf40d08dd69aa5d0b4aa593f (patch)
tree04d94551ca2ee1f900fb64ad52640fc5443b936f /tools/counter
parent0647537df442e0ec818fc0bca347f13c11268202 (diff)
tools/counter: Remove unneeded semicolon
./tools/counter/counter_watch_events.c:233:3-4: Unneeded semicolon ./tools/counter/counter_watch_events.c:234:2-3: Unneeded semicolon ./tools/counter/counter_watch_events.c:333:2-3: Unneeded semicolon Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7782 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Link: https://lore.kernel.org/r/20231220005143.84987-1-yang.lee@linux.alibaba.com Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Diffstat (limited to 'tools/counter')
-rw-r--r--tools/counter/counter_watch_events.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/counter/counter_watch_events.c b/tools/counter/counter_watch_events.c
index 37d1b4b3e63d..107631e0f2e3 100644
--- a/tools/counter/counter_watch_events.c
+++ b/tools/counter/counter_watch_events.c
@@ -230,8 +230,8 @@ int main(int argc, char **argv)
break;
default:
return EXIT_FAILURE;
- };
- };
+ }
+ }
if (nwatch) {
watches = calloc(nwatch, sizeof(*watches));
@@ -330,7 +330,7 @@ int main(int argc, char **argv)
i++;
break;
}
- };
+ }
if (debug)
print_watch(watches, nwatch);