]> 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)
commit8efcf4c53aaf25d22deaca4ec062d718e5b966b9
tree89f64eb515e9b7588263d43effebd75bbc814349
parentb6b6f173ea4d9a543372aa9e1737a7880e81db6d
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