summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2026-01-21 18:29:53 +0300
committerArnd Bergmann <arnd@arndb.de>2026-01-21 18:29:54 +0300
commit4b45c2f3f88c1be871f6e74efcf1606e476e0f0b (patch)
treec171a87297ee86c1d6e0ba84459847bf9bde9c0c
parente6bea2f5534d5c68ea48f840ef84296062961ede (diff)
parenta0db08f47c836251fbaccf711e12fe8428235465 (diff)
downloadlinux-4b45c2f3f88c1be871f6e74efcf1606e476e0f0b.tar.xz
Merge tag 'amdtee-update-for-6.20' of git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee into soc/drivers
AMDTEE update for 6.20 Remove unused return variables * tag 'amdtee-update-for-6.20' of git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee: tee: amdtee: Remove unused return variables Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--drivers/tee/amdtee/call.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/tee/amdtee/call.c b/drivers/tee/amdtee/call.c
index 4c21b02be4af..460b0c9e511f 100644
--- a/drivers/tee/amdtee/call.c
+++ b/drivers/tee/amdtee/call.c
@@ -15,7 +15,7 @@
static int tee_params_to_amd_params(struct tee_param *tee, u32 count,
struct tee_operation *amd)
{
- int i, ret = 0;
+ int i;
u32 type;
if (!count)
@@ -66,13 +66,13 @@ static int tee_params_to_amd_params(struct tee_param *tee, u32 count,
i, amd->params[i].val.b);
}
}
- return ret;
+ return 0;
}
static int amd_params_to_tee_params(struct tee_param *tee, u32 count,
struct tee_operation *amd)
{
- int i, ret = 0;
+ int i;
u32 type;
if (!count)
@@ -118,7 +118,7 @@ static int amd_params_to_tee_params(struct tee_param *tee, u32 count,
i, amd->params[i].val.b);
}
}
- return ret;
+ return 0;
}
static DEFINE_MUTEX(ta_refcount_mutex);