Re: [PATCH] crypto: s5p-sss: remove redundant null check
From: Krzysztof Kozlowski
Date: Thu Sep 03 2020 - 04:51:53 EST
On Thu, Sep 03, 2020 at 08:37:38AM +0000, Xu Wang wrote:
> Because clk_disable_unprepare already checked NULL clock
> parameter, so the additional checks are unnecessary, just remove them.
>
> Signed-off-by: Xu Wang <vulab@xxxxxxxxxxx>
> ---
> drivers/crypto/s5p-sss.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Best regards,
Krzysztof