IB/rxe: move the variable into the function that uses it
authorZhu Yanjun <yanjun.zhu@oracle.com>
Sat, 3 Nov 2018 12:13:18 +0000 (08:13 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 8 Nov 2018 21:22:54 +0000 (14:22 -0700)
commita854b1e89083781925fbad64e37bcb03c38082a7
treec8e0558b374950c493b0603605bb317eb0a986e4
parent6e5559b275e75a0039d2e11a68d65c2a86df3278
IB/rxe: move the variable into the function that uses it

The variable rxe is only used in the function rxe_xmit_packet, and the
caller functions do not use it. So move this variable into the function
rxe_xmit_packet.

Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_loc.h
drivers/infiniband/sw/rxe/rxe_req.c
drivers/infiniband/sw/rxe/rxe_resp.c