Removes list_shm from struct tee_context since the linked list isn't used any longer.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -49,7 +49,6 @@ struct tee_shm_pool; · 48 unmodified lines | |||
| 49 | */ | 49 | */ |
| 50 | struct tee_context { | 50 | struct tee_context { |
| 51 | struct tee_device *teedev; | 51 | struct tee_device *teedev; |
| 52 | struct list_head list_shm; | ||
| 53 | void *data; | 52 | void *data; |
| 54 | struct kref refcount; | 53 | struct kref refcount; |
| 55 | bool releasing; | 54 | bool releasing; |
| @@ -170,7 +169,6 @@ void tee_device_unregister(struct tee_device *teedev); · 114 unmodified lines | |||
| 170 | * struct tee_shm - shared memory object | 169 | * struct tee_shm - shared memory object |
| 171 | * @teedev: device used to allocate the object | 170 | * @teedev: device used to allocate the object |
| 172 | * @ctx: context using the object, if NULL the context is gone | 171 | * @ctx: context using the object, if NULL the context is gone |
| 173 | * @link link element | ||
| 174 | * @paddr: physical address of the shared memory | 172 | * @paddr: physical address of the shared memory |
| 175 | * @kaddr: virtual address of the shared memory | 173 | * @kaddr: virtual address of the shared memory |
| 176 | * @size: size of shared memory | 174 | * @size: size of shared memory |
| @@ -187,7 +185,6 @@ void tee_device_unregister(struct tee_device *teedev); · 10 unmodified lines | |||
| 187 | struct tee_shm { | 185 | struct tee_shm { |
| 188 | struct tee_device *teedev; | 186 | struct tee_device *teedev; |
| 189 | struct tee_context *ctx; | 187 | struct tee_context *ctx; |
| 190 | struct list_head link; | ||
| 191 | phys_addr_t paddr; | 188 | phys_addr_t paddr; |
| 192 | void *kaddr; | 189 | void *kaddr; |
| 193 | size_t size; | 190 | size_t size; |