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
49 */49 */
50struct tee_context {50struct 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 object169 * struct tee_shm - shared memory object
171 * @teedev: device used to allocate the object170 * @teedev: device used to allocate the object
172 * @ctx: context using the object, if NULL the context is gone171 * @ctx: context using the object, if NULL the context is gone
173 * @link link element
174 * @paddr: physical address of the shared memory172 * @paddr: physical address of the shared memory
175 * @kaddr: virtual address of the shared memory173 * @kaddr: virtual address of the shared memory
176 * @size: size of shared memory174 * @size: size of shared memory
@@ -187,7 +185,6 @@ void tee_device_unregister(struct tee_device *teedev); · 10 unmodified lines
187struct tee_shm {185struct 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;

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