Skip to content

Commit

Permalink
tee: remove unused tee_shm_priv_alloc function definition
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Masse <[email protected]>
  • Loading branch information
omasse-linaro committed Jun 21, 2022
1 parent 397b7f5 commit 234b8cc
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions include/linux/tee_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -350,18 +350,6 @@ struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size);
*/
struct tee_shm *tee_shm_register_fd(struct tee_context *ctx, int fd);

/**
* tee_shm_priv_alloc() - Allocate shared memory privately
* @teedev: Device that allocates the shared memory
* @size: Requested size of shared memory
*
* Allocates shared memory buffer that is not associated with any client
* context. Such buffers are owned by TEE driver and used for internal calls.
*
* @returns a pointer to 'struct tee_shm' on success, and ERR_PTR on failure
*/
struct tee_shm *tee_shm_priv_alloc(struct tee_device *teedev, size_t size);

/**
* tee_shm_register() - Register shared memory buffer
* @ctx: Context that registers the shared memory
Expand Down

0 comments on commit 234b8cc

Please sign in to comment.