History

tee: remove linked list of struct tee_shm

Removes list_shm from struct tee_context since the linked list isn't used any longer.

Jens Wiklander committed 7 years ago

Commit 59a135f1 parent 11a48a53 files · +1 −15Browse files

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

Unified · Split

include/linux/tee_drv.h+0−3
@@ -49,7 +49,6 @@ struct tee_shm_pool; · 48 unmodified lines
4949 */
5050 struct tee_context {
5151 struct tee_device *teedev;
52− struct list_head list_shm;
5352 void *data;
5453 struct kref refcount;
5554 bool releasing;
@@ -170,7 +169,6 @@ void tee_device_unregister(struct tee_device *teedev); · 114 unmodified lines
170169 * struct tee_shm - shared memory object
171170 * @teedev: device used to allocate the object
172171 * @ctx: context using the object, if NULL the context is gone
173− * @link link element
174172 * @paddr: physical address of the shared memory
175173 * @kaddr: virtual address of the shared memory
176174 * @size: size of shared memory
@@ -187,7 +185,6 @@ void tee_device_unregister(struct tee_device *teedev); · 10 unmodified lines
187185 struct tee_shm {
188186 struct tee_device *teedev;
189187 struct tee_context *ctx;
190− struct list_head link;
191188 phys_addr_t paddr;
192189 void *kaddr;
193190 size_t size;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t