]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0fc205fec55300b926a5a6673dbdc6497e40b57b
tree04401ec16ffa906d89823f2fb3edf0f2374d7c4b
parentec7b3387f6aaaae1edc33c1956b92b8a3af7593f
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