]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: samsung: spdif: remove unnecessary check of mem_res
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 10 May 2022 12:47:49 +0000 (20:47 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 10 May 2022 13:01:53 +0000 (14:01 +0100)
commit9f9ff01223fd81f238eccf17e18925abad156c41
tree89f64eb515e9b7588263d43effebd75bbc814349
parentb8a91b2dbde99b75fc2121ea29137cf42708afe6
ASoC: samsung: spdif: remove unnecessary check of mem_res

The resource is checked in probe function, so there is
no need do this check in remove function.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220510124749.2663874-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/spdif.c