mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
selftests: ALSA: Remove unused variable in utimer-test
The variable 'i' in wrong_timers_test() is declared but never used. This was detected by Cppcheck static analysis. tools/testing/selftests/alsa/utimer-test.c:144:9: style: Unused variable: i [unusedVariable] Remove it to clean up the code and silence the warning. Signed-off-by: LeeYongjun <jun85566@gmail.com> Link: https://patch.msgid.link/20260118065510.29644-1-jun85566@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
49985bc466
commit
1deecf7805
|
|
@ -141,7 +141,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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user