diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2018-02-27 14:04:33 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-08 01:56:14 +0300 |
commit | 31f1bd14cbfe4f7a4ea1ada2d4e0dc802a258f5d (patch) | |
tree | 4d3c9d4da9718cb283a7ab81bb0d4b73e02d4b64 /drivers/infiniband/sw/rxe/rxe_net.c | |
parent | 86af617641512f4aeb78fd25dcec7e0f4bb1d5e5 (diff) | |
download | linux-31f1bd14cbfe4f7a4ea1ada2d4e0dc802a258f5d.tar.xz |
IB/rxe: remove unnecessary rxe in rxe_send
In the function rxe_send, the variable rxe is not used in it.
So it should be removed.
CC: Srinivas Eeda <srinivas.eeda@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_net.c')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_net.c b/drivers/infiniband/sw/rxe/rxe_net.c index 159246b03867..a7753dc3261e 100644 --- a/drivers/infiniband/sw/rxe/rxe_net.c +++ b/drivers/infiniband/sw/rxe/rxe_net.c @@ -450,7 +450,7 @@ static void rxe_skb_tx_dtor(struct sk_buff *skb) rxe_drop_ref(qp); } -int rxe_send(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, struct sk_buff *skb) +int rxe_send(struct rxe_pkt_info *pkt, struct sk_buff *skb) { struct rxe_av *av; int err; |