diff --git a/include/linux/tee_drv.h b/include/linux/tee_drv.h index a0cacf56b0e6ac..b019dcdad9b226 100644 --- a/include/linux/tee_drv.h +++ b/include/linux/tee_drv.h @@ -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