commit | dcc9881e6767559c04faf15804ac145a2ea026cb | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Thu Aug 17 15:50:36 2017 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Thu Aug 24 16:27:10 2017 -0400 |
tree | 94917e3a4630dc8bcee860f3da8fa3cec6b12f72 | |
parent | 55f2467cd717241dd941153d4db1e23c91aecf98 [diff] |
RDMA/(core, ulp): Convert register/unregister event handler to be void The functions ib_register_event_handler() and ib_unregister_event_handler() always returned success and they can't fail. Let's convert those functions to be void, remove redundant checks and cleanup tons of goto statements. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>