Message ID | 20240424-ksft-exit-int-to-void-v2-7-c35f3b8c9ca0@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | eed24a9c8eb7908a1e75bcc072e06b655aa2b939 |
Headers | show |
Series | selftests: Make ksft_exit functions return void instead of int | expand |
diff --git a/tools/testing/selftests/sync/sync_test.c b/tools/testing/selftests/sync/sync_test.c index 414a617db993..93db5aa246a3 100644 --- a/tools/testing/selftests/sync/sync_test.c +++ b/tools/testing/selftests/sync/sync_test.c @@ -109,6 +109,5 @@ int main(void) ksft_exit_fail_msg("%d out of %d sync tests failed\n", err, ksft_test_num()); - /* need this return to keep gcc happy */ - return ksft_exit_pass(); + ksft_exit_pass(); }