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 | b8c0d74a70273cea5724073370fb8ffec9783d20 (patch) | |
tree | 8746423ed47cf756795084b1df85c69c34232a9f /Documentation/iio | |
parent | 64d66793b76cd3db39137cf9fc7ebe9c2010931d (diff) | |
download | linux-b8c0d74a70273cea5724073370fb8ffec9783d20.tar.gz linux-b8c0d74a70273cea5724073370fb8ffec9783d20.tar.bz2 linux-b8c0d74a70273cea5724073370fb8ffec9783d20.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 'Documentation/iio')
0 files changed, 0 insertions, 0 deletions