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)
commit9d62ba94266be3ddc864348a4df7e54f5562f0d5
tree89f64eb515e9b7588263d43effebd75bbc814349
parente1c9f68aa23a8bf98e956e92e61293ef51bd6282
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