OSDN Git Service

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)
commitffc58bc4af9365d4eea72526bb3cf6a83615c673
treef433715fa552b2b396e32996378bdf27ae3c12ac
parent6bf625a4140f24b490766043b307f8252519578b
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