diff options
author | Arnd Bergmann | 2022-02-25 17:05:01 +0100 |
---|---|---|
committer | Arnd Bergmann | 2022-02-25 17:05:01 +0100 |
commit | bc5ede20b8ec15543f792703ced520c8adacedf4 (patch) | |
tree | bf860643b2b07d9354460eafc9dffa6a99d3ad8a | |
parent | f289f1d8a49f1ad573459e46039a79b24ef52a36 (diff) | |
parent | f7b67642dd98617dc569836cdcba041c7ff00cbb (diff) |
Merge tag 'amdtee-for-v5.18' of git://git.linaro.org:/people/jens.wiklander/linux-tee into arm/drivers
Small simplification in AMDTE driver
* tag 'amdtee-for-v5.18' of git://git.linaro.org:/people/jens.wiklander/linux-tee:
tee: amdtee: Make use of the helper macro LIST_HEAD()
Link: https://lore.kernel.org/r/20220218175632.GA926082@jade
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | drivers/tee/amdtee/call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tee/amdtee/call.c b/drivers/tee/amdtee/call.c index 07f36ac834c8..cec6e70f0ac9 100644 --- a/drivers/tee/amdtee/call.c +++ b/drivers/tee/amdtee/call.c @@ -122,7 +122,7 @@ static int amd_params_to_tee_params(struct tee_param *tee, u32 count, } static DEFINE_MUTEX(ta_refcount_mutex); -static struct list_head ta_list = LIST_HEAD_INIT(ta_list); +static LIST_HEAD(ta_list); static u32 get_ta_refcount(u32 ta_handle) { |