RDMA/qedr: Make qedr_iw_load_qp() static

The function qedr_iw_load_qp() is only used in qedr_iw_cm.c

Fixes: 82af6d19d8 ("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>
This commit is contained in:
Kamal Heib 2019-11-10 13:36:45 +02:00 committed by Jason Gunthorpe
parent 6296665cee
commit 9a5407d74c

View File

@ -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;