commit | f66edf684edcb85c1db0b0aa8cf1a9392ba68a9d | [log] [tgz] |
---|---|---|
author | Cai Huoqing <cai.huoqing@linux.dev> | Wed Feb 09 11:28:41 2022 +0800 |
committer | Juergen Gross <jgross@suse.com> | Thu Feb 10 11:10:23 2022 +0100 |
tree | 1114dbc5ece22777b7c2b7f14eef129b67c619ad | |
parent | afea27dc3105004080c3127c6570dc3dff8563b2 [diff] |
xen/pci: 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: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/20220209032842.38818-1-cai.huoqing@linux.dev Signed-off-by: Juergen Gross <jgross@suse.com>