ASoC: amd: acp: remove unnecessary NULL checks
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 19 Aug 2022 05:23:09 +0000 (08:23 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 19 Aug 2022 12:20:00 +0000 (13:20 +0100)
commita74ec0bf5b67eae87317646571116ce4b4166d95
tree1d28d677fb4c1c08c0d68f8eb843a4f500db1532
parentceff365a29aaf275c0cd1bb7edaf57dcf254bc77
ASoC: amd: acp: remove unnecessary NULL checks

The list iterator can never be NULL.  Delete the bogus NULL checks.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/Yv8ePUuBfzaRu6xV@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-platform.c