]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96952c11f7ca444bfa48060fa5f0585e1a15d431
tree06e0f0ac9d51be18655544a9ece457a7b8461b96
parentffda48f4720772f81cffd3157fb6e21d0ea50c0f
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