mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 16:45:13 +07:00
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>
This commit is contained in:
parent
a854b1e890
commit
8c9959689b
@ -1287,11 +1287,9 @@ int rxe_register_device(struct rxe_dev *rxe)
|
||||
return err;
|
||||
}
|
||||
|
||||
int rxe_unregister_device(struct rxe_dev *rxe)
|
||||
void rxe_unregister_device(struct rxe_dev *rxe)
|
||||
{
|
||||
struct ib_device *dev = &rxe->ib_dev;
|
||||
|
||||
ib_unregister_device(dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user