]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/timers: remove unused irqcount variable
authorJohn Hubbard <jhubbard@nvidia.com>
Thu, 4 Jul 2024 02:42:02 +0000 (19:42 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 11 Jul 2024 17:23:54 +0000 (11:23 -0600)
commit4eddfafc902b28119c24189c5ba9469bd1607878
tree268eb48831c83d2d14b73cd89e441c609db0e629
parentb00db6fd2a301c5057d63c19d596818845c9a603
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>
tools/testing/selftests/timers/rtcpie.c