Skip to content

Commit 234b8cc

Browse files
committed
tee: remove unused tee_shm_priv_alloc function definition
Signed-off-by: Olivier Masse <[email protected]>
1 parent 397b7f5 commit 234b8cc

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

include/linux/tee_drv.h

-12
Original file line numberDiff line numberDiff line change
@@ -350,18 +350,6 @@ struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size);
350350
*/
351351
struct tee_shm *tee_shm_register_fd(struct tee_context *ctx, int fd);
352352

353-
/**
354-
* tee_shm_priv_alloc() - Allocate shared memory privately
355-
* @teedev: Device that allocates the shared memory
356-
* @size: Requested size of shared memory
357-
*
358-
* Allocates shared memory buffer that is not associated with any client
359-
* context. Such buffers are owned by TEE driver and used for internal calls.
360-
*
361-
* @returns a pointer to 'struct tee_shm' on success, and ERR_PTR on failure
362-
*/
363-
struct tee_shm *tee_shm_priv_alloc(struct tee_device *teedev, size_t size);
364-
365353
/**
366354
* tee_shm_register() - Register shared memory buffer
367355
* @ctx: Context that registers the shared memory

0 commit comments

Comments
 (0)