aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2016-04-22 14:14:43 -0700
committerDoug Ledford <[email protected]>2016-05-12 14:18:57 -0400
commit3b59b7a693b0e5b2dc244bcd78899aa2585a434b (patch)
treee8071521b38d284e75502d61bb0f03bdcc836c8d /tools/perf/scripts/python/call-graph-from-postgresql.py
parentffc548bb3601f0250474afcfa10ceb0b8b8b9764 (diff)
IB/srp: Move code out of a loop
Since all srp_map_finish_fr() callers pass a non-zero value as the fourth argument (sg_nents), the sg_nents == 0 check in that function can be removed. Add a count == 0 check in the caller of that function. Signed-off-by: Bart Van Assche <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Sagi Grimberg <[email protected]> Cc: Laurence Oberman <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions