diff options
author | Eric Biggers <ebiggers@google.com> | 2020-02-26 05:59:24 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 02:28:24 +0100 |
commit | 732e540953477083082e999ff553622c59cffd5f (patch) | |
tree | 9507761490dbf6d24285a7d802f2124437091251 /crypto/lz4hc.c | |
parent | crypto: rsa-pkcs1pad - simplify error handling in pkcs1pad_create() (diff) | |
download | linux-732e540953477083082e999ff553622c59cffd5f.tar.xz linux-732e540953477083082e999ff553622c59cffd5f.zip |
crypto: xts - simplify error handling in ->create()
Simplify the error handling in the XTS template's ->create() function by
taking advantage of crypto_drop_skcipher() now accepting (as a no-op) a
spawn that hasn't been grabbed yet.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions