History

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.

Jens Wiklander committed 7 years ago

Commit 5271b201 parent f1bbace2 files · +3 −8Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/tee_drv.h+1−3
@@ -167,8 +167,7 @@ void tee_device_unregister(struct tee_device *teedev); · 166 unmodified lines
167167
168168 /**
169169 * struct tee_shm - shared memory object
170− * @teedev: device used to allocate the object
171− * @ctx: context using the object, if NULL the context is gone
170+ * @ctx: context using the object
172171 * @paddr: physical address of the shared memory
173172 * @kaddr: virtual address of the shared memory
174173 * @size: size of shared memory
@@ -183,7 +182,6 @@ void tee_device_unregister(struct tee_device *teedev); · 8 unmodified lines
183182 * subsystem and from drivers that implements their own shm pool manager.
184183 */
185184 struct tee_shm {
186− struct tee_device *teedev;
187185 struct tee_context *ctx;
188186 phys_addr_t paddr;
189187 void *kaddr;