commit | 3fe6d228a0b45a205849daa110b908e8a4dbed80 | [log] [tgz] |
---|---|---|
author | Zhu Yanjun <yanjun.zhu@linux.dev> | Tue Dec 07 14:40:57 2021 -0500 |
committer | Jason Gunthorpe <jgg@nvidia.com> | Tue Dec 07 13:56:22 2021 -0400 |
tree | 6184d689e9bc58d27e09b21e6d15290ab8cbcb4e | |
parent | 0a0575a12e31657415d1d5f799d4b65f3c9e8ba4 [diff] |
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>