Skip to content

Commit 4b45c2f

Browse files
committed
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>
2 parents e6bea2f + a0db08f commit 4b45c2f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/tee/amdtee/call.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
static int tee_params_to_amd_params(struct tee_param *tee, u32 count,
1616
struct tee_operation *amd)
1717
{
18-
int i, ret = 0;
18+
int i;
1919
u32 type;
2020

2121
if (!count)
@@ -66,13 +66,13 @@ static int tee_params_to_amd_params(struct tee_param *tee, u32 count,
6666
i, amd->params[i].val.b);
6767
}
6868
}
69-
return ret;
69+
return 0;
7070
}
7171

7272
static int amd_params_to_tee_params(struct tee_param *tee, u32 count,
7373
struct tee_operation *amd)
7474
{
75-
int i, ret = 0;
75+
int i;
7676
u32 type;
7777

7878
if (!count)
@@ -118,7 +118,7 @@ static int amd_params_to_tee_params(struct tee_param *tee, u32 count,
118118
i, amd->params[i].val.b);
119119
}
120120
}
121-
return ret;
121+
return 0;
122122
}
123123

124124
static DEFINE_MUTEX(ta_refcount_mutex);

0 commit comments

Comments
 (0)