diff options
author | Alex Estrin <alex.estrin@intel.com> | 2018-09-26 10:02:32 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-09-26 16:35:48 -0600 |
commit | c8b53d0c5eb89a5831b7a25f4bd5e742a85c293b (patch) | |
tree | 89f739cd290cbaf3f014bd40b8e2240fcd64beb9 /drivers/infiniband/core/umem.c | |
parent | IB/hfi1: Move UnsupportedVL bits definitions to the correct header (diff) | |
download | linux-dev-c8b53d0c5eb89a5831b7a25f4bd5e742a85c293b.tar.xz linux-dev-c8b53d0c5eb89a5831b7a25f4bd5e742a85c293b.zip |
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 'drivers/infiniband/core/umem.c')
0 files changed, 0 insertions, 0 deletions