diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2018-11-03 08:13:19 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-11-08 14:22:54 -0700 |
commit | 8c9959689b203a388e9a78413a6e669049a87bd2 (patch) | |
tree | 9e96af2320e1bcaef8719f5fb13b2fd6f1c39872 /drivers/infiniband/sw/rxe/rxe_verbs.h | |
parent | a854b1e89083781925fbad64e37bcb03c38082a7 (diff) | |
download | linux-8c9959689b203a388e9a78413a6e669049a87bd2.tar.bz2 |
IB/rxe: make rxe_unregister_device void
Since the function rxe_unregister_device always returns 0, it is changed
to void.
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_verbs.h')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_verbs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.h b/drivers/infiniband/sw/rxe/rxe_verbs.h index 82e670d6eeea..831381b7788d 100644 --- a/drivers/infiniband/sw/rxe/rxe_verbs.h +++ b/drivers/infiniband/sw/rxe/rxe_verbs.h @@ -467,7 +467,7 @@ static inline struct rxe_mem *to_rmw(struct ib_mw *mw) } int rxe_register_device(struct rxe_dev *rxe); -int rxe_unregister_device(struct rxe_dev *rxe); +void rxe_unregister_device(struct rxe_dev *rxe); void rxe_mc_cleanup(struct rxe_pool_entry *arg); |