RDMA/rxe: Remove the unnecessary variable
authorZhu Yanjun <yanjun.zhu@linux.dev>
Tue, 7 Dec 2021 19:40:57 +0000 (14:40 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 7 Dec 2021 17:56:22 +0000 (13:56 -0400)
commit3fe6d228a0b45a205849daa110b908e8a4dbed80
tree6184d689e9bc58d27e09b21e6d15290ab8cbcb4e
parent0a0575a12e31657415d1d5f799d4b65f3c9e8ba4
RDMA/rxe: Remove the unnecessary variable

The variable pkey is assigned from a macro. Then this variable is passed
to a function bth_init directly, and pkey is not used again. So remove it
and use the macro directly.

Fixes: 76251e15ea73 ("RDMA/rxe: Remove pkey table")
Link: https://lore.kernel.org/r/20211207194057.713289-1-yanjun.zhu@linux.dev
Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_req.c