staging: greybus: audio: replace safe list iteration
authorJohan Hovold <johan@kernel.org>
Fri, 10 Jun 2022 07:53:47 +0000 (09:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 12:47:42 +0000 (14:47 +0200)
commitd2b47721a10037c17b378decc611341bfff60c44
tree611a9ce3142bee201ef22191a92e177ba22ee31a
parent991ebc730369c10f6ac36a62c8174276b3811de8
staging: greybus: audio: replace safe list iteration

No entry is being removed from the list when iterating the widget list
in gbaudio_dapm_free_controls() so there's no need to use
list_for_each_entry_safe().

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20220610075347.18917-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_helper.c