diff options
author | Silvano di Ninno <silvano.dininno@nxp.com> | 2018-08-08 17:34:51 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-08-10 16:43:44 +0200 |
commit | 3798db343a264ee11582902861c0c2350b1166d5 (patch) | |
tree | 8949a790ab81c85a2a464d5755d39fd8e2892c03 /core/tee | |
parent | 7247a01e4af9771632e2264e1659e1770fc82a83 (diff) |
core: tee: crypt_utl: remove one crypto_init
Crypto_init is called twice in tee_cryp_init.
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to 'core/tee')
-rw-r--r-- | core/tee/tee_cryp_utl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/tee/tee_cryp_utl.c b/core/tee/tee_cryp_utl.c index aeaea6cb..1c1706da 100644 --- a/core/tee/tee_cryp_utl.c +++ b/core/tee/tee_cryp_utl.c @@ -366,7 +366,6 @@ static TEE_Result tee_cryp_init(void) { TEE_Result res = crypto_init(); - res = crypto_init(); if (res) { EMSG("Failed to initialize crypto API: %#" PRIx32, res); panic(); |