]> git.baikalelectronics.ru Git - kernel.git/commit
tee: amdtee: Make use of the helper macro LIST_HEAD()
authorCai Huoqing <cai.huoqing@linux.dev>
Wed, 9 Feb 2022 03:27:43 +0000 (11:27 +0800)
committerJens Wiklander <jens.wiklander@linaro.org>
Mon, 14 Feb 2022 09:57:55 +0000 (10:57 +0100)
commitc27afbfd5e33d490d884ea74b42ae6221792822c
tree24cc2144db8301a0cab10f2a4474513b18772fa2
parent59e766ff6f8c2d0f016dfe97ff01198e0de898dc
tee: amdtee: Make use of the helper macro LIST_HEAD()

Replace "struct list_head head = LIST_HEAD_INIT(head)" with
"LIST_HEAD(head)" to simplify the code.

Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev>
Reviewed-by: Rijo Thomas <Rijo-john.Thomas@amd.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/amdtee/call.c