summaryrefslogtreecommitdiff
path: root/crypto/async_tx
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-04-11 18:37:17 -0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-04-21 00:58:37 +0800
commit550a305c78b3e5502d3d010da584972edd2d492d (patch)
tree70931473efe460d4cb4444abcc0ee812a148218d /crypto/async_tx
parentc1de538a536942fd27d58655533224b0499efaa8 (diff)
downloadlinux-crypto-550a305c78b3e5502d3d010da584972edd2d492d.tar.gz
linux-crypto-550a305c78b3e5502d3d010da584972edd2d492d.zip
crypto: rsa - Remove unneeded error assignment
There is no need to assign an error value to 'ret' prior to calling mpi_read_raw_from_sgl() because in the case of error the 'ret' variable will be assigned to the error code inside the if block. In the case of non failure, 'ret' will be overwritten immediately after, so remove the unneeded assignment. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/async_tx')
0 files changed, 0 insertions, 0 deletions