]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: es8328: Remove redundant null check before clk_disable_unprepare
authorXu Wang <vulab@iscas.ac.cn>
Fri, 8 Jan 2021 08:58:34 +0000 (08:58 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 8 Jan 2021 14:00:43 +0000 (14:00 +0000)
commitbd1c17f9123c9e9989ee93b7d8e1856f797b4cad
treebf3b85fad339d3988d3415f9acba02622f5114d2
parent516895189baaf1aa365573bfda4fd94a8814c459
ASoC: es8328: 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/20210108085834.7168-1-vulab@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8328.c