summaryrefslogtreecommitdiff
path: root/crypto/ctr.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-02-25 20:59:15 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-03-06 12:28:22 +1100
commit0ad13ff53382f70e3b6116c669404837fd446858 (patch)
tree135692397c7784293d4e6b92dabcef252d839fcd /crypto/ctr.c
parent5b69a9aaf716f6fe20a23bc19687a196e7bc634a (diff)
downloadlinux-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/ctr.c')
0 files changed, 0 insertions, 0 deletions