]> 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)
commite3a53d878fc453a7588953ccaa7a3b95548c423f
treecda8147f3518de4080cdbe700e3071262f82d84d
parent24fc54a93260bd37d4b47b4edd927f7889a48c52
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 8e7652be52dd
("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