tools/counter: Remove unneeded semicolon
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 20 Dec 2023 00:51:43 +0000 (08:51 +0800)
committerWilliam Breathitt Gray <william.gray@linaro.org>
Wed, 20 Dec 2023 16:43:31 +0000 (11:43 -0500)
./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>
tools/counter/counter_watch_events.c

index 37d1b4b3e63df242205b5662a77f628470de74e5..107631e0f2e315ae66f2150c0e7c1e1bc9a026fc 100644 (file)
@@ -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);