diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2019-11-07 11:42:59 +0100 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2020-02-28 13:37:42 +0100 |
commit | 5271b2011e448f1be7433554e4684e91951476fa (patch) | |
tree | 87fd7b7d9975f68c4585e6fdd6b2dce38206a3a9 /include/linux/tee_drv.h | |
parent | f1bbacedb0af640a93e47799203e556be2825da3 (diff) | |
download | linux-stable-5271b2011e448f1be7433554e4684e91951476fa.tar.gz linux-stable-5271b2011e448f1be7433554e4684e91951476fa.tar.bz2 linux-stable-5271b2011e448f1be7433554e4684e91951476fa.zip |
tee: remove redundant teedev in struct tee_shm
The ctx element in struct tee_shm is always valid. So remove the now
redundant teedev element.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'include/linux/tee_drv.h')
-rw-r--r-- | include/linux/tee_drv.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/tee_drv.h b/include/linux/tee_drv.h index 42687f6c546d..1412e9cc79ce 100644 --- a/include/linux/tee_drv.h +++ b/include/linux/tee_drv.h @@ -167,8 +167,7 @@ void tee_device_unregister(struct tee_device *teedev); /** * struct tee_shm - shared memory object - * @teedev: device used to allocate the object - * @ctx: context using the object, if NULL the context is gone + * @ctx: context using the object * @paddr: physical address of the shared memory * @kaddr: virtual address of the shared memory * @size: size of shared memory @@ -183,7 +182,6 @@ void tee_device_unregister(struct tee_device *teedev); * subsystem and from drivers that implements their own shm pool manager. */ struct tee_shm { - struct tee_device *teedev; struct tee_context *ctx; phys_addr_t paddr; void *kaddr; |