diff options
author | Parav Pandit <[email protected]> | 2018-05-02 13:12:55 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2018-05-09 12:08:21 -0400 |
commit | 25a1cd3fe551bfeffc12d6ef1aafb2f2ef5e54f6 (patch) | |
tree | 618aec1266c7ac479b6f2cac0d71386d824e6d97 /tools/perf/scripts/python/sched-migration.py | |
parent | 056f9c7f39bf517d58f32797f1eb1465bb6f6ef2 (diff) |
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 <[email protected]>
Signed-off-by: Parav Pandit <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions