diff options
author | Eric Biggers <ebiggers@google.com> | 2020-02-25 20:59:15 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 12:28:22 +1100 |
commit | 0ad13ff53382f70e3b6116c669404837fd446858 (patch) | |
tree | 135692397c7784293d4e6b92dabcef252d839fcd /crypto/async_tx/Kconfig | |
parent | 5b69a9aaf716f6fe20a23bc19687a196e7bc634a (diff) | |
download | linux-crypto-0ad13ff53382f70e3b6116c669404837fd446858.tar.gz linux-crypto-0ad13ff53382f70e3b6116c669404837fd446858.zip |
crypto: cryptd - simplify error handling in cryptd_create_*()
Simplify the error handling in the various cryptd_create_*() functions
by taking advantage of crypto_grab_*() now handling an ERR_PTR() name
and by taking advantage of crypto_drop_*() 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/async_tx/Kconfig')
0 files changed, 0 insertions, 0 deletions