staging: most: sound: use non-safe list iteration
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 2 Feb 2021 11:38:10 +0000 (12:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Feb 2021 16:13:48 +0000 (17:13 +0100)
commit9810cad7dad02a3a8ef249b7f8dbb85d2fbb74a1
tree08108d9bcd4f2cbed772e480bd9b871f40fe6e4e
parent45b754ae5b82949dca2b6e74fa680313cefdc813
staging: most: sound: use non-safe list iteration

This patch replaces the safe list iteration function with the
non-safe one, as no list element is being deleted.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/1612265890-18246-3-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/sound/sound.c