]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/iwcm: Use list_first_entry() where appropriate
authorBart Van Assche <bvanassche@acm.org>
Wed, 5 Jun 2024 14:50:57 +0000 (08:50 -0600)
committerLeon Romanovsky <leon@kernel.org>
Sun, 9 Jun 2024 08:15:27 +0000 (11:15 +0300)
commitb1bc15f8fb5f20b4199fbf10868bd416d9a6a692
tree5a76af5c6b65b8ccd6655ed2a99627d8ee19b04a
parentc8683b995d8aba9d5b4e2368fedad83508882d84
RDMA/iwcm: Use list_first_entry() where appropriate

Improve source code readability by using list_first_entry() where appropriate.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240605145117.397751-2-bvanassche@acm.org
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/core/iwcm.c