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 | 50 | struct tee_context { |
| 51 | 51 | struct tee_device *teedev; |
| 52 | − struct list_head list_shm; | |
| 53 | 52 | void *data; |
| 54 | 53 | struct kref refcount; |
| 55 | 54 | bool releasing; |
| @@ -170,7 +169,6 @@ void tee_device_unregister(struct tee_device *teedev); · 114 unmodified lines | ||
| 170 | 169 | * struct tee_shm - shared memory object |
| 171 | 170 | * @teedev: device used to allocate the object |
| 172 | 171 | * @ctx: context using the object, if NULL the context is gone |
| 173 | − * @link link element | |
| 174 | 172 | * @paddr: physical address of the shared memory |
| 175 | 173 | * @kaddr: virtual address of the shared memory |
| 176 | 174 | * @size: size of shared memory |
| @@ -187,7 +185,6 @@ void tee_device_unregister(struct tee_device *teedev); · 10 unmodified lines | ||
| 187 | 185 | struct tee_shm { |
| 188 | 186 | struct tee_device *teedev; |
| 189 | 187 | struct tee_context *ctx; |
| 190 | − struct list_head link; | |
| 191 | 188 | phys_addr_t paddr; |
| 192 | 189 | void *kaddr; |
| 193 | 190 | size_t size; |