diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2019-04-18 16:38:52 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-04-25 10:38:14 +0300 |
commit | b7ec8530687a5b44654ee59c236579c2d890357f (patch) | |
tree | 25918630e1d821ca70cd47085fdbd9de9892fdd9 /drivers/crypto/ccree/cc_ivgen.h | |
parent | dcb2cf1d2c760bcf6390b72a9a74a3e5482ab949 (diff) | |
download | linux-b7ec8530687a5b44654ee59c236579c2d890357f.tar.xz |
crypto: ccree - use std api when possible
Move to use the std api sg_nents_for_len() when we do not in fact
require the extra information about the number of bytes in the last
entry provided by the in-driver variant cc_get_sgl_nents().
This also resolves a Coverity warning cause by us not using
the output value.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccree/cc_ivgen.h')
0 files changed, 0 insertions, 0 deletions