tee: optee: do not check memref size on return from Secure World
authorJerome Forissier <jerome@forissier.org>
Thu, 13 Jan 2022 15:27:13 +0000 (16:27 +0100)
committerJens Wiklander <jens.wiklander@linaro.org>
Mon, 24 Jan 2022 11:53:34 +0000 (12:53 +0100)
commitabc8dc34d1f6e34ed346c6e3fc554127e421b769
tree69c63f8f61d355ca793b65b562e81436a177eb8c
parent9decff5f403f9a48f639736ec0271e2870cadbb6
tee: optee: do not check memref size on return from Secure World

Commit c650b8dc7a79 ("tee: optee: do not check memref size on return
from Secure World") was mistakenly lost in commit 4602c5842f64 ("optee:
refactor driver with internal callbacks"). Remove the unwanted code
again.

Fixes: 4602c5842f64 ("optee: refactor driver with internal callbacks")
Signed-off-by: Jerome Forissier <jerome@forissier.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/smc_abi.c