]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: utils: Make use of the helper macro LIST_HEAD()
authorCai Huoqing <cai.huoqing@linux.dev>
Wed, 9 Feb 2022 03:22:51 +0000 (11:22 +0800)
committerWei Liu <wei.liu@kernel.org>
Wed, 9 Feb 2022 14:33:21 +0000 (14:33 +0000)
commit7e41fc4c18d8c85cd8def2ecbc5e684b596818e5
treef433715fa552b2b396e32996378bdf27ae3c12ac
parenteb4d77cb863f4797101c25c7ebb9b3c16866da33
Drivers: hv: utils: 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>
Link: https://lore.kernel.org/r/20220209032251.37362-1-cai.huoqing@linux.dev
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/hv_utils_transport.c