OSDN Git Service

mtip32xx: use LIST_HEAD() for list_head
authorShixin Liu <liushixin2@huawei.com>
Mon, 29 Mar 2021 09:53:49 +0000 (17:53 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Mar 2021 13:38:49 +0000 (07:38 -0600)
commit80755855f808c27c7154937667436f30e47bc820
tree06e0f0ac9d51be18655544a9ece457a7b8461b96
parentacf8aec3501cac6fd67e2653267ed61a22617c37
mtip32xx: use LIST_HEAD() for list_head

There's no need to declare a list and then init it manually,
just use the LIST_HEAD() macro.

Signed-off-by: Shixin Liu <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20210329095349.4170870-2-liushixin2@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c