Messages in this thread | | | Date | Fri, 11 Sep 2020 16:58:46 +1000 | From | Herbert Xu <> | 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@iscas.ac.cn> > --- > drivers/crypto/s5p-sss.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-)
Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |