]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/rxe: Simplify the error handling code in rxe_create_ah()
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 6 Jul 2018 16:45:32 +0000 (09:45 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 9 Jul 2018 18:55:28 +0000 (12:55 -0600)
commit8ecf85c821c14bb667578fcf392b7767ed68d2cd
treecda8147f3518de4080cdbe700e3071262f82d84d
parent8042fce2246546be50ec4ea372a6715d28a94153
RDMA/rxe: Simplify the error handling code in rxe_create_ah()

This patch not only simplifies the error handling code in rxe_create_ah()
but also removes the dead code that was left behind by commit 183bd6cddb23
("RDMA: Convert drivers to use sgid_attr instead of sgid_index").

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_verbs.c