aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/infiniband/hw/qib/qib_init.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-05-02 13:12:55 +0300
committerDoug Ledford <dledford@redhat.com>2018-05-09 12:08:21 -0400
commit25a1cd3fe551bfeffc12d6ef1aafb2f2ef5e54f6 (patch)
tree618aec1266c7ac479b6f2cac0d71386d824e6d97 /drivers/infiniband/hw/qib/qib_init.c
parentiw_cxgb4: dump detailed driver-specific QP information (diff)
downloadwireguard-linux-25a1cd3fe551bfeffc12d6ef1aafb2f2ef5e54f6.tar.xz
wireguard-linux-25a1cd3fe551bfeffc12d6ef1aafb2f2ef5e54f6.zip
IB/core: Make gid_table_reserve_default() return void
gid_table_reserve_default() always returns zero. Make it return void and simplify error checking. rdma_port is already calculated, use that while calling gid_table_reserve_default() instead of recalculating it. Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_init.c')
0 files changed, 0 insertions, 0 deletions