RDMA/rxe: Fix useless copy in send_atomic_ack
authorBob Pearson <rpearson@hpe.com>
Fri, 18 Jun 2021 04:57:38 +0000 (23:57 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 22 Jun 2021 18:38:52 +0000 (15:38 -0300)
commitfceb24a73eec7bbc717e516d5420ae786c514d38
tree8ff1c2bd926c41ee486eb8603264c742c705724f
parentd5d182ea5aa2ae3cb20f98dddcfeaf263b802c07
RDMA/rxe: Fix useless copy in send_atomic_ack

In send_atomic_ack() in rxe_resp.c there is code copying ack_pkt into the
skb->cb[]. This doesn't do anything useful because the cb[] is not used in
the transmit path by the rxe driver.

Remove this code.

Fixes: 4c93496f18ce ("IB/rxe: do not copy extra stack memory to skb")
Link: https://lore.kernel.org/r/20210618045742.204195-2-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_resp.c