diff options
author | Jerome Forissier | 2018-05-31 01:12:34 -0500 |
---|---|---|
committer | Jérôme Forissier | 2018-06-05 11:57:11 -0500 |
commit | 1aea52a7995f1a2988a0359ea3cecc33de074ef9 (patch) | |
tree | 433ebcb5c5a5e2081afd0f2369630958d92597f6 | |
parent | 5986edbd0c69b419a13cda9d6742b5adcf1eed04 (diff) | |
download | ti-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.c | 5 |
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 | |||
505 | static void xtest_tee_test_invalid_mem_access(ADBG_Case_t *c, unsigned int n) | 500 | static 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 }; |