]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: samsung: i2s: Remove redundant null check before clk_disable_unprepare
authorXu Wang <vulab@iscas.ac.cn>
Thu, 29 Oct 2020 08:41:37 +0000 (08:41 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 5 Nov 2020 14:52:35 +0000 (14:52 +0000)
commitea7d9ba470596442c1ff8d21540760898ef3db22
treeac9194b71d1433e6cc31f809c898fdd23e6f3f11
parent5da0d1c280f552735d04b41ec45ed23d3bfc5b10
ASoC: samsung: i2s: Remove redundant null check before clk_disable_unprepare

Because clk_disable_unprepare() already checked NULL clock parameter,
so the additional check is unnecessary, just remove it.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/r/20201029084137.28771-1-vulab@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/i2s.c