Commit 74daadc7 authored by Colin Ian King's avatar Colin Ian King Committed by Mark Brown

ASoC: rockchip: i2s-tdm: Remove call to rockchip_i2s_ch_to_io

The call to rockchip_i2s_ch_to_io is only useful for its return
value which is not being used. The function call also has no
side effects, the call is effectively useless and can be removed.

Addresses-Coverity: ("Useless call")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Message-Id: <20211008095430.62680-1-colin.king@canonical.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 52453525
...@@ -848,8 +848,6 @@ static int rockchip_i2s_io_multiplex(struct snd_pcm_substream *substream, ...@@ -848,8 +848,6 @@ static int rockchip_i2s_io_multiplex(struct snd_pcm_substream *substream,
to_ch_num(val), usable_chs); to_ch_num(val), usable_chs);
return -EINVAL; return -EINVAL;
} }
rockchip_i2s_ch_to_io(val, false);
} }
val <<= i2s_tdm->soc_data->grf_shift; val <<= i2s_tdm->soc_data->grf_shift;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment