mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user