Merge "platform: msm_shared: Remove call to crypto cleanup."
diff --git a/platform/msm_shared/crypto_hash.c b/platform/msm_shared/crypto_hash.c
index d4d5972..50d4a17 100644
--- a/platform/msm_shared/crypto_hash.c
+++ b/platform/msm_shared/crypto_hash.c
@@ -33,14 +33,10 @@
static crypto_SHA256_ctx g_sha256_ctx;
static crypto_SHA1_ctx g_sha1_ctx;
-static bool crypto_init_done = FALSE;
+static bool crypto_init_done;
extern void ce_clock_init(void);
-__WEAK void crypto_eng_cleanup()
-{
-}
-
/*
* Top level function which calculates SHAx digest with given data and size.
* Digest varies based on the authentication algorithm.
@@ -75,9 +71,6 @@
if (ret_val != CRYPTO_SHA_ERR_NONE) {
dprintf(CRITICAL, "crypto_sha256 returns error %d\n", ret_val);
}
-
- crypto_eng_cleanup();
-
}
/*