diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2023-12-20 01:51:43 +0100 |
---|---|---|
committer | William Breathitt Gray <william.gray@linaro.org> | 2023-12-20 17:43:31 +0100 |
commit | b7760cf94d4f2665bf40d08dd69aa5d0b4aa593f (patch) | |
tree | 04d94551ca2ee1f900fb64ad52640fc5443b936f | |
parent | tools/counter: Fix spelling mistake "componend" -> "component" (diff) | |
download | linux-b7760cf94d4f2665bf40d08dd69aa5d0b4aa593f.tar.xz linux-b7760cf94d4f2665bf40d08dd69aa5d0b4aa593f.zip |
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>
-rw-r--r-- | tools/counter/counter_watch_events.c | 6 |
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); |