diff options
author | LEROY Christophe <christophe.leroy@c-s.fr> | 2017-10-06 15:04:59 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-10-12 22:55:33 +0800 |
commit | 9a655608a468535cd15eafff5ef93e2656e6e2fc (patch) | |
tree | ba331727b7b6120897779cafec9ba930bf95f560 /drivers/crypto/atmel-aes.c | |
parent | da9de146ebd99e162c4724ebce46a2bf2bc06085 (diff) | |
download | linux-9a655608a468535cd15eafff5ef93e2656e6e2fc.tar.gz linux-9a655608a468535cd15eafff5ef93e2656e6e2fc.tar.bz2 linux-9a655608a468535cd15eafff5ef93e2656e6e2fc.zip |
crypto: talitos - simplify tests in ipsec_esp()
Do (desc->hdr & DESC_HDR_TYPE_IPSEC_ESP) only once.
Limit number of if/else paths
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-aes.c')
0 files changed, 0 insertions, 0 deletions