RDMA/hns: Remove not used UAR assignment
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 1 Aug 2019 11:48:27 +0000 (14:48 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 5 Aug 2019 16:16:24 +0000 (12:16 -0400)
commit7a63b31efbb22391a3f508a2a3d97d3de7c8dca0
tree104cd999631843630a92aab9167662697e7f702b
parent20cf4e026730104892fa1268de0371a631cee294
RDMA/hns: Remove not used UAR assignment

UAR in CQ is not used and generates the following compilation
warning, clean the code by removing uar assignment.

drivers/infiniband/hw/hns/hns_roce_cq.c: In function _create_user_cq_:
drivers/infiniband/hw/hns/hns_roce_cq.c:305:27: warning: parameter _uar_ set but not used [-Wunused-but-set-parameter]
  305 |      struct hns_roce_uar *uar,
      |      ~~~~~~~~~~~~~~~~~~~~~^~~

Fixes: 4f8f0d5e33dd ("RDMA/hns: Package the flow of creating cq")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Link: https://lore.kernel.org/r/20190801114827.24263-1-leon@kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_cq.c