]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06df2ca1e7f54f50cc77deb6a39bb4805b77595b
tree4e37fc4727a89d9c303cf14492b092678fc652be
parent141fd6936bc81711c07dc142de334b914a89eb48
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