Fix the following coccicheck warnings:
./tools/testing/selftests/timers/inconsistency-check.c:75:2-3: Unneeded semicolon.
Reported-by: Abaci Robot abaci@linux.alibaba.com Signed-off-by: Jiapeng Chong jiapeng.chong@linux.alibaba.com --- tools/testing/selftests/timers/inconsistency-check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/timers/inconsistency-check.c b/tools/testing/selftests/timers/inconsistency-check.c index 022d3ff..e6756d9 100644 --- a/tools/testing/selftests/timers/inconsistency-check.c +++ b/tools/testing/selftests/timers/inconsistency-check.c @@ -72,7 +72,7 @@ char *clockstring(int clockid) return "CLOCK_BOOTTIME_ALARM"; case CLOCK_TAI: return "CLOCK_TAI"; - }; + } return "UNKNOWN_CLOCKID"; }
On Mon, Mar 15, 2021 at 1:08 AM Jiapeng Chong jiapeng.chong@linux.alibaba.com wrote:
Fix the following coccicheck warnings:
./tools/testing/selftests/timers/inconsistency-check.c:75:2-3: Unneeded semicolon.
Reported-by: Abaci Robot abaci@linux.alibaba.com Signed-off-by: Jiapeng Chong jiapeng.chong@linux.alibaba.com
No objection here. Thanks for sending this along.
Acked-by: John Stultz john.stultz@linaro.org
thanks -john
linux-kselftest-mirror@lists.linaro.org