]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: rockchip: i2s-tdm: Fix a useless call issue
authorDheeraj Reddy Jonnalagadda <dheeraj.linuxdev@gmail.com>
Mon, 18 Nov 2024 04:56:05 +0000 (10:26 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 2 Dec 2024 00:30:38 +0000 (00:30 +0000)
commit42c7af046aaf35c42ef864cbd96df025c48ce50f
tree3834ffcc6e8102994500c1bd64db44d16a5dd217
parent509544d1b6dbffe7bc1849593ff217f965ec0419
ASoC: rockchip: i2s-tdm: Fix a useless call issue

This commit fixes a useless call issue detected by Coverity
(CID 1507978). The call to rockchip_i2s_ch_to_io is unnecessary as its
return value is never checked or used. As a result, the function
definition and call is removed.

Signed-off-by: Dheeraj Reddy Jonnalagadda <dheeraj.linuxdev@gmail.com>
Link: https://patch.msgid.link/20241118045605.48440-1-dheeraj.linuxdev@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_i2s_tdm.c