diff options
author | Ira Weiny <ira.weiny@intel.com> | 2017-05-12 09:19:47 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-06-27 16:56:33 -0400 |
commit | aa560df381f7199fafa4e7f71382de28f0400270 (patch) | |
tree | 1e6607c479214fed86cb477734944b668017d5b9 /drivers/infiniband/hw/hfi1/qp.c | |
parent | ceb26569af5bc33a8f47b755fd64f12c81801ce8 (diff) | |
download | linux-stable-aa560df381f7199fafa4e7f71382de28f0400270.tar.gz linux-stable-aa560df381f7199fafa4e7f71382de28f0400270.tar.bz2 linux-stable-aa560df381f7199fafa4e7f71382de28f0400270.zip |
IB/hfi1: Remove unused mk_qpn function
Leftover function that is not used. Remove it.
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
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 650305cc0373..e91be05062e6 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), |