[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200903085141.GA30833@kozik-lap>
Date: Thu, 3 Sep 2020 10:51:41 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Xu Wang <vulab@...as.ac.cn>
Cc: vz@...ia.com, k.konieczny@...sung.com, herbert@...dor.apana.org.au,
davem@...emloft.net, linux-crypto@...r.kernel.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: s5p-sss: remove redundant null check
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@...as.ac.cn>
> ---
> drivers/crypto/s5p-sss.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzk@...nel.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists