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>
This commit is contained in:
Yang Li 2023-12-20 08:51:43 +08:00 committed by William Breathitt Gray
parent 0647537df4
commit b7760cf94d

View File

@ -230,8 +230,8 @@ int main(int argc, char **argv)
break; break;
default: default:
return EXIT_FAILURE; return EXIT_FAILURE;
}; }
}; }
if (nwatch) { if (nwatch) {
watches = calloc(nwatch, sizeof(*watches)); watches = calloc(nwatch, sizeof(*watches));
@ -330,7 +330,7 @@ int main(int argc, char **argv)
i++; i++;
break; break;
} }
}; }
if (debug) if (debug)
print_watch(watches, nwatch); print_watch(watches, nwatch);