summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2019-11-10 13:36:45 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-11-14 11:55:31 -0400
commit9a5407d74c22821f7944e2be4209bdfc5faf8143 (patch)
tree3d42c6043377e1b56ccd7cf69190cd79e510614c /drivers/infiniband
parent6296665cee88a76a875ddcd7031bb1633b4adac8 (diff)
downloadblackbird-op-linux-9a5407d74c22821f7944e2be4209bdfc5faf8143.tar.gz
blackbird-op-linux-9a5407d74c22821f7944e2be4209bdfc5faf8143.zip
RDMA/qedr: Make qedr_iw_load_qp() static
The function qedr_iw_load_qp() is only used in qedr_iw_cm.c Fixes: 82af6d19d8d9 ("RDMA/qedr: Fix synchronization methods and memory leaks in qedr") Link: https://lore.kernel.org/r/20191110113645.20058-1-kamalheib1@gmail.com Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Acked-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/qedr/qedr_iw_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qedr/qedr_iw_cm.c b/drivers/infiniband/hw/qedr/qedr_iw_cm.c
index d3c13f4b136e..792eecd206b6 100644
--- a/drivers/infiniband/hw/qedr/qedr_iw_cm.c
+++ b/drivers/infiniband/hw/qedr/qedr_iw_cm.c
@@ -506,7 +506,7 @@ qedr_addr6_resolve(struct qedr_dev *dev,
return rc;
}
-struct qedr_qp *qedr_iw_load_qp(struct qedr_dev *dev, u32 qpn)
+static struct qedr_qp *qedr_iw_load_qp(struct qedr_dev *dev, u32 qpn)
{
struct qedr_qp *qp;
OpenPOWER on IntegriCloud