RDMA/rxe: Remove redundant err variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Wed, 15 Dec 2021 06:06:25 +0000 (06:06 +0000)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 5 Jan 2022 17:47:43 +0000 (13:47 -0400)
commit47920e4d2cbfe64e85c8b536a792a91a94c7c187
treee5ac361420e90d92efa2002a2e45cee9fe5e32ea
parent37c995ed19fdd4695d18fad24c7eaa441ea86564
RDMA/rxe: Remove redundant err variable

Return value directly instead of taking this in another redundant
variable.

Link: https://lore.kernel.org/20211215075258.442930-1-chi.minghao@zte.com.cn
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Acked-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Reviewed-by: Devesh Sharma <Devesh.s.sharma@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_net.c