OSDN Git Service

crypto: s5p-sss - remove redundant null check
authorXu Wang <vulab@iscas.ac.cn>
Thu, 3 Sep 2020 08:37:38 +0000 (08:37 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Sep 2020 04:39:17 +0000 (14:39 +1000)
commit7fe99da102c39213e4a4fd8f7bb0914120f2ae3a
tree3e75ed0ffc47fc49ccbe435a87e359f68b0cbd06
parentcb435fa642ebbb348d336aa46669c0881dd435bc
crypto: s5p-sss - remove redundant null check

Because clk_disable_unprepare already checked NULL clock
parameter, so the additional checks are unnecessary, just remove them.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Kamil Konieczny <k.konieczny@samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/s5p-sss.c