RDMA/hns: Drop local zgid in favor of core defined variable
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 2 May 2018 10:15:24 +0000 (13:15 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 9 May 2018 16:08:21 +0000 (12:08 -0400)
commited3dd9b017b85e00a459c35bd4d3fe2b83b0d092
tree6010e018111412b55d6a99731b02bdbf199348b3
parentbe0e8f34b66c47fb9bf65858d0cd4b145d1e47b1
RDMA/hns: Drop local zgid in favor of core defined variable

The zgid is already provided by IB/core, so there is no need in locally
defined variable, let's drop it and reuse common one.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_main.c