[PATCH 7/9] pcm_multi: remove dead assignment from _snd_pcm_multi_open

Alex Henrie alexhenrie24 at gmail.com
Sat Dec 26 22:35:45 CET 2020


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 src/pcm/pcm_multi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/pcm/pcm_multi.c b/src/pcm/pcm_multi.c
index 53c414d5..5fa09b9b 100644
--- a/src/pcm/pcm_multi.c
+++ b/src/pcm/pcm_multi.c
@@ -1323,7 +1323,6 @@ int _snd_pcm_multi_open(snd_pcm_t **pcmp, const char *name,
 		err = -ENOMEM;
 		goto _free;
 	}
-	idx = 0;
 	for (idx = 0; idx < channels_count; ++idx)
 		channels_sidx[idx] = -1;
 	idx = 0;
-- 
2.29.2.368.ge46b91665e.dirty



More information about the Alsa-devel mailing list