2023-06-14 08:41:51

by baomingtong001

[permalink] [raw]
Subject: [PATCH] selftests: timers: Remove unneeded semicolon

tools/testing/selftests/timers/nanosleep.c:75:2-3: Unneeded semicolon

Signed-off-by: Mingtong Bao <[email protected]>
---
tools/testing/selftests/timers/nanosleep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/timers/nanosleep.c
b/tools/testing/selftests/timers/nanosleep.c
index df1d03516e7b..34e61507fa1f 100644
--- a/tools/testing/selftests/timers/nanosleep.c
+++ b/tools/testing/selftests/timers/nanosleep.c
@@ -72,7 +72,7 @@ char *clockstring(int clockid)
return "CLOCK_BOOTTIME_ALARM";
case CLOCK_TAI:
return "CLOCK_TAI";
- };
+ }
return "UNKNOWN_CLOCKID";
}