Re: [PATCH v3] selftests/timers: remove unused irqcount variable

From: Shuah Khan
Date: Fri Jul 05 2024 - 12:53:28 EST


On 7/3/24 21:11, John Stultz wrote:
On Wed, Jul 3, 2024 at 7:42 PM John Hubbard <jhubbard@xxxxxxxxxx> wrote:

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@xxxxxxxxxx>

Acked-by: John Stultz <jstultz@xxxxxxxxxx>

Thank you all.

Applied to linux_kselftest next for Linux 6.11-rc1.

thanks,
-- Shuah