aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_loc.h
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@oracle.com>2019-01-20 08:21:40 -0500
committerJason Gunthorpe <jgg@mellanox.com>2019-01-21 16:46:08 -0700
commit9802c335e7c5a5dc6e34028835d2cd7a2b6c149a (patch)
tree8387a31127e280ddfe87335bed1eb87c6216a3dd /drivers/infiniband/sw/rxe/rxe_loc.h
parentIB/iser: Pass the correct number of entries for dma mapped SGL (diff)
downloadlinux-dev-9802c335e7c5a5dc6e34028835d2cd7a2b6c149a.tar.xz
linux-dev-9802c335e7c5a5dc6e34028835d2cd7a2b6c149a.zip
IB/rxe: Remove unnecessary rxe variable
The variable rxe in the function is not used. So it is removed. Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_loc.h')
-rw-r--r--drivers/infiniband/sw/rxe/rxe_loc.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_loc.h b/drivers/infiniband/sw/rxe/rxe_loc.h
index 01b74597b36a..a65fbd0ff42e 100644
--- a/drivers/infiniband/sw/rxe/rxe_loc.h
+++ b/drivers/infiniband/sw/rxe/rxe_loc.h
@@ -239,11 +239,9 @@ int rxe_responder(void *arg);
u32 rxe_icrc_hdr(struct rxe_pkt_info *pkt, struct sk_buff *skb);
-void rxe_resp_queue_pkt(struct rxe_dev *rxe,
- struct rxe_qp *qp, struct sk_buff *skb);
+void rxe_resp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb);
-void rxe_comp_queue_pkt(struct rxe_dev *rxe,
- struct rxe_qp *qp, struct sk_buff *skb);
+void rxe_comp_queue_pkt(struct rxe_qp *qp, struct sk_buff *skb);
static inline unsigned int wr_opcode_mask(int opcode, struct rxe_qp *qp)
{