diff options
| author | 2018-08-27 08:44:16 +0300 | |
|---|---|---|
| committer | 2018-08-30 16:31:50 -0400 | |
| commit | 536a631d1ec1de6ed51453954407068c10473eea (patch) | |
| tree | 8b760910b1fef572ecd431229ce5c8ebb8c3b970 /tools/perf/scripts/python | |
| parent | IB/rxe: Change pool state enums to capital letters (diff) | |
IB/rxe: Avoid NULL check when search is successful
While performing lookup in a pool, if entry is found, take the
reference right there, instead of checking again outside the loop and
save one branch.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
