[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240902031258.2532-1-bajing@cmss.chinamobile.com>
Date: Mon, 2 Sep 2024 11:12:58 +0800
From: bajing <bajing@...s.chinamobile.com>
To: perex@...ex.cz
Cc: tiwai@...e.com,
broonie@...nel.org,
shuah@...nel.org,
linux-sound@...r.kernel.org,
linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org,
bajing <bajing@...s.chinamobile.com>
Subject: [PATCH] utimer-test: remove unused variables
The variable i is never referenced in the code, just remove it.
Signed-off-by: bajing <bajing@...s.chinamobile.com>
---
tools/testing/selftests/alsa/utimer-test.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/alsa/utimer-test.c b/tools/testing/selftests/alsa/utimer-test.c
index 32ee3ce57721..9d2683c83ef3 100644
--- a/tools/testing/selftests/alsa/utimer-test.c
+++ b/tools/testing/selftests/alsa/utimer-test.c
@@ -140,7 +140,6 @@ TEST_F(timer_f, utimer) {
TEST(wrong_timers_test) {
int timer_dev_fd;
int utimer_fd;
- size_t i;
struct snd_timer_uinfo wrong_timer = {
.resolution = 0,
.id = UTIMER_DEFAULT_ID,
--
2.33.0
Powered by blists - more mailing lists