Unverified Commit 554a1b00 authored by vulab's avatar vulab Committed by Mark Brown
Browse files

ASoC: adau17x1: 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: default avatarXu Wang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/r/20210108084456.6603-1-vulab@iscas.ac.cn


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 780b1a02
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1095,7 +1095,6 @@ void adau17x1_remove(struct device *dev)
{
	struct adau *adau = dev_get_drvdata(dev);

	if (adau->mclk)
	clk_disable_unprepare(adau->mclk);
}
EXPORT_SYMBOL_GPL(adau17x1_remove);