diff options
author | Leon Romanovsky | 2019-08-01 14:48:27 +0300 |
---|---|---|
committer | Doug Ledford | 2019-08-05 12:16:24 -0400 |
commit | 7a63b31efbb22391a3f508a2a3d97d3de7c8dca0 (patch) | |
tree | 104cd999631843630a92aab9167662697e7f702b /include/rdma | |
parent | 20cf4e026730104892fa1268de0371a631cee294 (diff) |
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>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions