ASoC: soc-core: remove unneeded list_empty() check for snd_soc_try_rebind_card()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 7 Aug 2019 01:31:19 +0000 (10:31 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 8 Aug 2019 19:56:56 +0000 (20:56 +0100)
commitb245d273cbcd64eeaa93305f99c4ea8a6baf9c89
tree04401ec16ffa906d89823f2fb3edf0f2374d7c4b
parentd8ca7a0a8583fc491b625450580c4092879af3dd
ASoC: soc-core: remove unneeded list_empty() check for snd_soc_try_rebind_card()

list_for_each_entry_safe() will do nothing if it was empty list.
This patch removes unneeded list_empty() check for
list_for_each_entry_safe().

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/878ss5aho6.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c