ASoC: uniphier: remove redundant check of blk_id
authorColin Ian King <colin.king@canonical.com>
Wed, 14 Feb 2018 16:10:36 +0000 (16:10 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 15 Feb 2018 15:14:48 +0000 (15:14 +0000)
commit53b8e4504aaa7fc88fd18e6caac3a4d4367bd4a4
treef2f29598377cee18a56e933a35b087b31ff6e865
parent21957b5bf0ff607e6e0ed55a3a89454e969511ba
ASoC: uniphier: remove redundant check of blk_id

The check of blk_id == AUD_CLK_IO is redundant as it also being performed
in the following switch statement with the same return of -ENOTSUPP. Fix
this by removing the redundant comparison.

Detected by CoverityScan, CID#1465227 ("Logically dead code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/uniphier/aio-cpu.c