diff options
author | Doug Ledford <dledford@redhat.com> | 2017-07-24 08:33:43 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 08:33:43 -0400 |
commit | 03da084ed8804ddc5918883be84245b53393b8fb (patch) | |
tree | 564a4860cb9c5de3f504fd6156110d95b1c9f26b /drivers/infiniband/hw/hfi1/qp.c | |
parent | 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 (diff) | |
parent | bc5214ee29220251e5507882696ded5ca183b169 (diff) | |
download | linux-stable-03da084ed8804ddc5918883be84245b53393b8fb.tar.gz linux-stable-03da084ed8804ddc5918883be84245b53393b8fb.tar.bz2 linux-stable-03da084ed8804ddc5918883be84245b53393b8fb.zip |
Merge branch 'hfi1' into k.o/for-4.14
Diffstat (limited to 'drivers/infiniband/hw/hfi1/qp.c')
-rw-r--r-- | drivers/infiniband/hw/hfi1/qp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/infiniband/hw/hfi1/qp.c b/drivers/infiniband/hw/hfi1/qp.c index 1a7af9f60c13..198c7b4f3c78 100644 --- a/drivers/infiniband/hw/hfi1/qp.c +++ b/drivers/infiniband/hw/hfi1/qp.c @@ -73,12 +73,6 @@ static void iowait_wakeup(struct iowait *wait, int reason); static void iowait_sdma_drained(struct iowait *wait); static void qp_pio_drain(struct rvt_qp *qp); -static inline unsigned mk_qpn(struct rvt_qpn_table *qpt, - struct rvt_qpn_map *map, unsigned off) -{ - return (map - qpt->map) * RVT_BITS_PER_PAGE + off; -} - const struct rvt_operation_params hfi1_post_parms[RVT_OPERATION_MAX] = { [IB_WR_RDMA_WRITE] = { .length = sizeof(struct ib_rdma_wr), |