RDMA/rxe: Cleanup init_send_wqe
authorBob Pearson <rpearsonhpe@gmail.com>
Sat, 6 Feb 2021 00:24:37 +0000 (18:24 -0600)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 9 Feb 2021 00:43:11 +0000 (20:43 -0400)
commit086f580c015261b90276fee232e11d76b2d6ece6
tree42ca850e9a18b0aa1e5fbb6361a68ebc37acb9c0
parentdc78074a808e2363fd0de92fbc5f5bf44c9d0db1
RDMA/rxe: Cleanup init_send_wqe

This patch changes the type of init_send_wqe in rxe_verbs.c to void since
it always returns 0. It also separates out the code that copies inline
data into the send wqe as copy_inline_data_to_wqe().

Link: https://lore.kernel.org/r/20210206002437.2756-1-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_verbs.c