diff options
author | Yihao Han <hanyihao@vivo.com> | 2022-04-08 07:23:49 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-04-15 16:34:28 +0800 |
commit | 10299073bc35ce051530fef318598b2f8b36e383 (patch) | |
tree | 380a5566c330df563ab37a476e3269b08c5a1d08 /drivers/crypto/atmel-ecc.c | |
parent | 716a757c83ad6208a743dd8fb1577055d0867ee8 (diff) |
crypto: ux500/hash - simplify if-if to if-else
Replace `if (!req_ctx->updated)` with `else` for simplification
and add curly brackets according to the kernel coding style:
"Do not unnecessarily use braces where a single statement will do."
...
"This does not apply if only one branch of a conditional statement is
a single statement; in the latter case use braces in both branches"
Please refer to:
https://www.kernel.org/doc/html/v5.17-rc8/process/coding-style.html
Signed-off-by: Yihao Han <hanyihao@vivo.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-ecc.c')
0 files changed, 0 insertions, 0 deletions