aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_resp.c
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_resp.c
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 '')
-rw-r--r--drivers/infiniband/sw/rxe/rxe_resp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_resp.c b/drivers/infiniband/sw/rxe/rxe_resp.c
index 231528188250..aca9f60f9b21 100644
--- a/drivers/infiniband/sw/rxe/rxe_resp.c
+++ b/drivers/infiniband/sw/rxe/rxe_resp.c
@@ -104,8 +104,7 @@ static char *resp_state_name[] = {
};
/* rxe_recv calls here to add a request packet to the input queue */
-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)
{
int must_sched;
struct rxe_pkt_info *pkt = SKB_TO_PKT(skb);