aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/core_priv.h
diff options
context:
space:
mode:
authorDaniel Jurgens <danielj@mellanox.com>2018-01-04 17:25:33 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-01-08 11:42:21 -0700
commit908d6460b3d81dd2dca9e9e8fc7fa19b5a1e4d99 (patch)
tree3285116c68040f7398c1a90f4f3224ff0f139dbb /drivers/infiniband/core/core_priv.h
parentnet/mlx5: Set software owner ID during init HCA (diff)
downloadlinux-dev-908d6460b3d81dd2dca9e9e8fc7fa19b5a1e4d99.tar.xz
linux-dev-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.h2
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);