Skip to content

Commit 069969d

Browse files
Yue Haibingjenswi-linaro
authored andcommitted
tee: Remove unused declarations
Commit 4fb0a5e ("tee: add OP-TEE driver") declared but never implemented optee_supp_read()/optee_supp_write(). Commit 967c9cc ("tee: generic TEE subsystem") never implemented tee_shm_init(). Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
1 parent 2dde18c commit 069969d

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

drivers/tee/optee/optee_private.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,6 @@ int optee_notif_send(struct optee *optee, u_int key);
238238
u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
239239
struct tee_param *param);
240240

241-
int optee_supp_read(struct tee_context *ctx, void __user *buf, size_t len);
242-
int optee_supp_write(struct tee_context *ctx, void __user *buf, size_t len);
243241
void optee_supp_init(struct optee_supp *supp);
244242
void optee_supp_uninit(struct optee_supp *supp);
245243
void optee_supp_release(struct optee_supp *supp);

drivers/tee/tee_private.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ struct tee_device {
4747
struct tee_shm_pool *pool;
4848
};
4949

50-
int tee_shm_init(void);
51-
5250
int tee_shm_get_fd(struct tee_shm *shm);
5351

5452
bool tee_device_get(struct tee_device *teedev);

0 commit comments

Comments
 (0)