RDMA/mlx5: Limit the scope of mlx5_ib_enable_driver function
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 2 Jul 2020 08:18:04 +0000 (11:18 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 7 Jul 2020 17:05:51 +0000 (14:05 -0300)
commitac47bf5ef122591aa561fc16176ef0d1c7d24726
tree4e37fc4727a89d9c303cf14492b092678fc652be
parentcc33b23e1e1cf54bcb9e5c193e3888a3b17a5479
RDMA/mlx5: Limit the scope of mlx5_ib_enable_driver function

The mlx5_ib_enable_driver() is local function and doesn't need to be
shared in mlx5_ib, so change it's signature to have static keyword in it.

Link: https://lore.kernel.org/r/20200702081809.423482-2-leon@kernel.org
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h