diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-20 22:04:12 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-24 18:23:35 +0100 |
commit | 5f0cb80134a0035829bf7580126ea371c4aefec5 (patch) | |
tree | 7b4fdece25aea92a453428961bd7c57cf091b882 /drivers/infiniband/hw/qib/qib_keys.c | |
parent | IB/hf1: Remove DMA mapping code (diff) | |
download | linux-5f0cb80134a0035829bf7580126ea371c4aefec5.tar.xz linux-5f0cb80134a0035829bf7580126ea371c4aefec5.zip |
IB/qib: Remove DMA mapping code
The qib DMA mapping code is no longer built since commit eb636ac0e49e
("IB/qib: Remove dma.c and use rdmavt version of dma functions"). Hence
remove it.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Mike Marciniszyn <mike.marciniszyn@intel.com>
Cc: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_keys.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_keys.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/qib/qib_keys.c b/drivers/infiniband/hw/qib/qib_keys.c index 2c3c93572c17..8fdf79f8d4e4 100644 --- a/drivers/infiniband/hw/qib/qib_keys.c +++ b/drivers/infiniband/hw/qib/qib_keys.c @@ -158,10 +158,7 @@ int qib_rkey_ok(struct rvt_qp *qp, struct rvt_sge *sge, unsigned n, m; size_t off; - /* - * We use RKEY == zero for kernel virtual addresses - * (see qib_get_dma_mr and qib_dma.c). - */ + /* We use RKEY == zero for kernel virtual addresses */ rcu_read_lock(); if (rkey == 0) { struct rvt_pd *pd = ibpd_to_rvtpd(qp->ibqp.pd); |