summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Estrin <alex.estrin@intel.com>2018-09-26 10:02:32 -0700
committerJason Gunthorpe <jgg@mellanox.com>2018-09-26 16:35:48 -0600
commitc8b53d0c5eb89a5831b7a25f4bd5e742a85c293b (patch)
tree89f739cd290cbaf3f014bd40b8e2240fcd64beb9 /tools/perf/scripts/python
parente04951ebeefbad29455a6218187fe01e0f05b026 (diff)
IB/sa: simplify return code logic for ib_nl_send_msg()
rdma_nl_multicast() returns either negative error code or zero if succeeded. Remove unnecessary ret code checks and reassignments. Reviewed-by: Kaike Wan <kaike.wan@intel.com> Signed-off-by: Alex Estrin <alex.estrin@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-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