commit | b2b4f84d9cb2b723fdf5e05401c43d82836fec2f | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@nxp.com> | Wed Apr 11 18:37:17 2018 -0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Apr 21 00:58:37 2018 +0800 |
tree | 208d299b2e5e33f3418d80cc41c0137aac207512 | |
parent | 336073840a8723f993511a3f357df42fc4a20930 [diff] |
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>