mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
RDMA/rxe: cleanup some error handling in rxe_verbs.c
[ Upstream commit692373d186] Instead of 'goto and return', just return directly to simplify the error handling, and avoid some unnecessary return value check. Link: https://lore.kernel.org/r/20221028075053.3990467-1-xuhaoyue1@hisilicon.com Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Stable-dep-of:a77a52385e("RDMA/rxe: Fix missing memory barriers in rxe_queue.h") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
f56c87aee1
commit
0f2a0ebb89
1 changed files with 23 additions and 57 deletions
Loading…
Add table
Add a link
Reference in a new issue