diff options
author | 2023-08-22 11:35:38 +0800 | |
---|---|---|
committer | 2023-08-22 17:28:27 +0300 | |
commit | 3d91dfe72aac335e1c3f33de8bda537c026ccc8e (patch) | |
tree | fdf59826108f01768c40436cf2d9255586b99dba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/mlx5: Fix trailing */ formatting in block comment (diff) | |
download | wireguard-linux-3d91dfe72aac335e1c3f33de8bda537c026ccc8e.tar.xz wireguard-linux-3d91dfe72aac335e1c3f33de8bda537c026ccc8e.zip |
RDMA/hfi1: Use list_for_each_entry() helper
Convert list_for_each() to list_for_each_entry() so that the pos list_head
pointer and list_entry() call are no longer needed, which can
reduce a few lines of code. No functional changed.
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230822033539.3692453-1-ruanjinjie@huawei.com
Acked-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions