diff options
author | 2018-05-02 13:12:55 +0300 | |
---|---|---|
committer | 2018-05-09 12:08:21 -0400 | |
commit | 25a1cd3fe551bfeffc12d6ef1aafb2f2ef5e54f6 (patch) | |
tree | 618aec1266c7ac479b6f2cac0d71386d824e6d97 /drivers/infiniband/hw/qib/qib_init.c | |
parent | iw_cxgb4: dump detailed driver-specific QP information (diff) | |
download | wireguard-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