diff options
| author | 2018-08-28 15:08:42 +0300 | |
|---|---|---|
| committer | 2018-09-06 13:45:38 -0600 | |
| commit | f7b65d9bf2db0e4b319c0676900c6c25398a449f (patch) | |
| tree | 36f7fd44ecb1f62c53fdc7396a05ce1ac40e7b47 /tools/perf/scripts/python | |
| parent | RDMA/core: No need to protect kfree with spin lock and semaphore (diff) | |
RDMA/core: Use simplified list_for_each
While traversing client_data_list in following conditions, linked list is
only read, no elements of the list are removed. Therefore, use
list_for_each_entry(), instead of list_for_each_safe().
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
