ASoC: amd: acp: delete unnecessary NULL check
authorDan Carpenter <dan.carpenter@linaro.org>
Tue, 18 Jul 2023 07:04:18 +0000 (10:04 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 18 Jul 2023 14:14:35 +0000 (15:14 +0100)
commitc1325a2d5182f263f2edbc6e0c1e581e4c5d5a95
tree4decbeaa46287deadcb2390d71987a85b6e99baa
parent72ab68580cd04ab8745b854a9ee2e5ea7c70d473
ASoC: amd: acp: delete unnecessary NULL check

The list iterator can't be NULL.  Delete the check and pull the code
in one tab.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/b0c5b0ca-68da-47e6-a8b0-e0714f0de119@moroto.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-rembrandt.c