ASoC: mediatek: mt8192: Delete a redundant condition branch
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 10 May 2021 08:36:40 +0000 (16:36 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 10 May 2021 12:05:33 +0000 (13:05 +0100)
commit85c966dc97d1c46a3079ec4c26714c9f8ec66823
treee3952bc42594ac1316b2b9424b356a63cccbba6e
parent2fa74b31bb8170f34ec4dfa8455ff07d9ee9a7e6
ASoC: mediatek: mt8192: Delete a redundant condition branch

The statement of the "if (afe_priv->mtkaif_protocol == MTKAIF_PROTOCOL_2)"
branch is the same as the "else" branch. Delete it to simplify code.

No functional change.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210510083640.3368-1-thunder.leizhen@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8192/mt8192-dai-adda.c