aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorParav Pandit <[email protected]>2018-08-27 08:44:16 +0300
committerDoug Ledford <[email protected]>2018-08-30 16:31:50 -0400
commit536a631d1ec1de6ed51453954407068c10473eea (patch)
tree8b760910b1fef572ecd431229ce5c8ebb8c3b970 /tools/perf/scripts/python/call-graph-from-sql.py
parent3ccf19e25adf2d3b9c5f1e65b950b6d223e1c4c0 (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 <[email protected]> Reviewed-by: Daniel Jurgens <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Reviewed-by: Yuval Shaia <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions