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: NCai Huoqing <cai.huoqing@linux.dev> Reviewed-by: NRijo Thomas <Rijo-john.Thomas@amd.com> Signed-off-by: NJens Wiklander <jens.wiklander@linaro.org>
Showing
想要评论请 注册 或 登录