diff mbox series

utimer-test: remove unused variables

Message ID 20240902031258.2532-1-bajing@cmss.chinamobile.com (mailing list archive)
State New, archived
Headers show
Series utimer-test: remove unused variables | expand

Commit Message

Ba Jing Sept. 2, 2024, 3:12 a.m. UTC
The variable i is never referenced in the code, just remove it.

Signed-off-by: bajing <bajing@cmss.chinamobile.com>
---
 tools/testing/selftests/alsa/utimer-test.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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,