diff options
author | Eric Biggers <ebiggers@google.com> | 2020-02-25 20:59:21 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 12:28:23 +1100 |
commit | d57063103332b95eac9c118900f35700a491da08 (patch) | |
tree | d338266f5455ce046884929b4c7f72ead55ac35e /kernel/sysctl.c | |
parent | 376ffe1acbc642ce38169f7410b1735ffcacd774 (diff) | |
download | linux-d57063103332b95eac9c118900f35700a491da08.tar.gz linux-d57063103332b95eac9c118900f35700a491da08.tar.bz2 linux-d57063103332b95eac9c118900f35700a491da08.zip |
crypto: lrw - simplify error handling in create()
Simplify the error handling in the LRW 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 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions