diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2017-08-17 15:50:36 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-24 16:27:10 -0400 |
commit | dcc9881e6767559c04faf15804ac145a2ea026cb (patch) | |
tree | 94917e3a4630dc8bcee860f3da8fa3cec6b12f72 /scripts/Makefile.extrawarn | |
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>
Diffstat (limited to 'scripts/Makefile.extrawarn')
0 files changed, 0 insertions, 0 deletions