aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerome Forissier2018-05-31 01:12:34 -0500
committerJérôme Forissier2018-06-05 11:57:11 -0500
commit1aea52a7995f1a2988a0359ea3cecc33de074ef9 (patch)
tree433ebcb5c5a5e2081afd0f2369630958d92597f6
parent5986edbd0c69b419a13cda9d6742b5adcf1eed04 (diff)
downloadti-optee-test-1aea52a7995f1a2988a0359ea3cecc33de074ef9.tar.gz
ti-optee-test-1aea52a7995f1a2988a0359ea3cecc33de074ef9.tar.xz
ti-optee-test-1aea52a7995f1a2988a0359ea3cecc33de074ef9.zip
regression_1000.c: remove useless code
TEEC_ERROR_TARGET_DEAD is defined in tee_client_api.h so there is no need to check for its existence. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
-rw-r--r--host/xtest/regression_1000.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/host/xtest/regression_1000.c b/host/xtest/regression_1000.c
index e02a4af..933dff7 100644
--- a/host/xtest/regression_1000.c
+++ b/host/xtest/regression_1000.c
@@ -497,11 +497,6 @@ static void xtest_tee_test_1004(ADBG_Case_t *c)
497 TEEC_CloseSession(&session); 497 TEEC_CloseSession(&session);
498} 498}
499 499
500#ifndef TEEC_ERROR_TARGET_DEAD
501/* To be removed when we have TEEC_ERROR_TARGET_DEAD from tee_client_api.h */
502#define TEEC_ERROR_TARGET_DEAD 0xFFFF3024
503#endif
504
505static void xtest_tee_test_invalid_mem_access(ADBG_Case_t *c, unsigned int n) 500static void xtest_tee_test_invalid_mem_access(ADBG_Case_t *c, unsigned int n)
506{ 501{
507 TEEC_Session session = { 0 }; 502 TEEC_Session session = { 0 };