Re: [PATCH] ASoC: samsung: i2s: Remove redundant null check before clk_disable_unprepare
From: Krzysztof Kozlowski
Date: Thu Oct 29 2020 - 14:36:58 EST
On Thu, Oct 29, 2020 at 08:37:15AM +0000, Xu Wang wrote:
> Because clk_disable_unprepare() already checked NULL clock parameter,
> so the additional check is unnecessary, just remove it.
You missed other places with it - the resume part.
Best regards,
Krzysztof
>
> Signed-off-by: Xu Wang <vulab@xxxxxxxxxxx>
> ---
> sound/soc/samsung/i2s.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)