mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
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:
parent
0647537df4
commit
b7760cf94d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user