1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/timers
John Hubbard 4eddfafc90 selftests/timers: remove unused irqcount variable
When building with clang, via:

    make LLVM=1 -C tools/testing/selftest

...clang warns about an unused irqcount variable. clang is correct: the
variable is incremented and then ignored.

Fix this by deleting the irqcount variable.

Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: John Stultz <jstultz@google.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-07-11 11:23:54 -06:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
adjtick.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
alarmtimer-suspend.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
change_skew.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
clocksource-switch.c selftests: timers: clocksource-switch: adapt to kselftest framework 2022-07-14 14:36:52 -06:00
freq-step.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
inconsistency-check.c selftests: timers: inconsistency-check: adapt to kselftest framework 2022-07-14 14:36:18 -06:00
leap-a-day.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
leapcrash.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
Makefile selftests/timers: Turn off timeout setting 2020-08-20 15:49:28 -06:00
mqueue-lat.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
nanosleep.c selftests: timers: nanosleep: adapt to kselftest framework 2022-07-14 14:36:13 -06:00
nsleep-lat.c selftests: timers: Convert nsleep-lat test to generate KTAP output 2023-10-05 15:00:14 -06:00
posix_timers.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
raw_skew.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
rtcpie.c selftests/timers: remove unused irqcount variable 2024-07-11 11:23:54 -06:00
set-2038.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
set-tai.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
set-timer-lat.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
set-tz.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
settings selftests/timers: Turn off timeout setting 2020-08-20 15:49:28 -06:00
skew_consistency.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
threadtest.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
valid-adjtimex.c selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00