tee: Remove unused declarations
authorYue Haibing <yuehaibing@huawei.com>
Thu, 10 Aug 2023 14:49:43 +0000 (22:49 +0800)
committerJens Wiklander <jens.wiklander@linaro.org>
Wed, 13 Sep 2023 06:16:24 +0000 (08:16 +0200)
Commit 4fb0a5eb364d ("tee: add OP-TEE driver") declared but never implemented
optee_supp_read()/optee_supp_write().
Commit 967c9cca2cc5 ("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>
drivers/tee/optee/optee_private.h
drivers/tee/tee_private.h

index 72685ee0d53f881cbaa8116fec69f465d81f7ca9..6bb5cae0968865910b00298474f1cd4330fe375b 100644 (file)
@@ -238,8 +238,6 @@ int optee_notif_send(struct optee *optee, u_int key);
 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
                        struct tee_param *param);
 
-int optee_supp_read(struct tee_context *ctx, void __user *buf, size_t len);
-int optee_supp_write(struct tee_context *ctx, void __user *buf, size_t len);
 void optee_supp_init(struct optee_supp *supp);
 void optee_supp_uninit(struct optee_supp *supp);
 void optee_supp_release(struct optee_supp *supp);
index 409cadcc1cff7b41a0f7e6c7142f8d8793276585..754e11dcb240898d33e0af4af698ee81c3ff6615 100644 (file)
@@ -47,8 +47,6 @@ struct tee_device {
        struct tee_shm_pool *pool;
 };
 
-int tee_shm_init(void);
-
 int tee_shm_get_fd(struct tee_shm *shm);
 
 bool tee_device_get(struct tee_device *teedev);