diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2018-04-23 03:57:58 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-04-27 12:18:29 -0400 |
commit | e12ee8ce51435c4d24f437f10e0fce773505c674 (patch) | |
tree | 24af7a11a40f19fd4ff0eec712083541ce5b2c2b /drivers/infiniband/sw/rxe/rxe_req.c | |
parent | IB/rxe: change rxe_set_mtu function type to void (diff) | |
download | linux-dev-e12ee8ce51435c4d24f437f10e0fce773505c674.tar.xz linux-dev-e12ee8ce51435c4d24f437f10e0fce773505c674.zip |
IB/rxe: remove unused function variable
In the functions rxe_mem_init_dma, rxe_mem_init_user, rxe_mem_init_fast
and copy_data, the function variable rxe is not used. So this function
variable rxe is removed.
CC: Srinivas Eeda <srinivas.eeda@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_req.c')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_req.c b/drivers/infiniband/sw/rxe/rxe_req.c index 7bdaf71b8221..957826dde94f 100644 --- a/drivers/infiniband/sw/rxe/rxe_req.c +++ b/drivers/infiniband/sw/rxe/rxe_req.c @@ -490,7 +490,7 @@ static int fill_packet(struct rxe_qp *qp, struct rxe_send_wqe *wqe, wqe->dma.resid -= paylen; wqe->dma.sge_offset += paylen; } else { - err = copy_data(rxe, qp->pd, 0, &wqe->dma, + err = copy_data(qp->pd, 0, &wqe->dma, payload_addr(pkt), paylen, from_mem_obj, &crc); |