diff options
author | Daniel Jurgens <danielj@mellanox.com> | 2018-01-04 17:25:33 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-08 11:42:21 -0700 |
commit | 908d6460b3d81dd2dca9e9e8fc7fa19b5a1e4d99 (patch) | |
tree | 3285116c68040f7398c1a90f4f3224ff0f139dbb /drivers/infiniband/core/core_priv.h | |
parent | 8737f818ca3b8ef7c9945525af7df128e1be4575 (diff) | |
download | talos-op-linux-908d6460b3d81dd2dca9e9e8fc7fa19b5a1e4d99.tar.gz talos-op-linux-908d6460b3d81dd2dca9e9e8fc7fa19b5a1e4d99.zip |
IB/core: Change roce_rescan_device to return void
It always returns 0. Change return type to void.
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/core_priv.h')
-rw-r--r-- | drivers/infiniband/core/core_priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/core_priv.h b/drivers/infiniband/core/core_priv.h index 0deff4c4911b..39e3c1d02613 100644 --- a/drivers/infiniband/core/core_priv.h +++ b/drivers/infiniband/core/core_priv.h @@ -137,7 +137,7 @@ int ib_cache_gid_del_all_netdev_gids(struct ib_device *ib_dev, u8 port, int roce_gid_mgmt_init(void); void roce_gid_mgmt_cleanup(void); -int roce_rescan_device(struct ib_device *ib_dev); +void roce_rescan_device(struct ib_device *ib_dev); unsigned long roce_gid_type_mask_support(struct ib_device *ib_dev, u8 port); int ib_cache_setup_one(struct ib_device *device); |