Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3ffed0c authored by Kamal Heib's avatar Kamal Heib Committed by Jason Gunthorpe
Browse files

IB/mlx5: Make mlx5_ib_stage_odp_cleanup() static



The function mlx5_ib_stage_odp_cleanup() is only used in main.c

Fixes: d5d284b8 ("{net,IB}/mlx5: Move Page fault EQ and ODP logic to RDMA")
Signed-off-by: default avatarKamal Heib <kamalheib1@gmail.com>
Acked-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 0b5cb330
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6176,7 +6176,7 @@ static int mlx5_ib_stage_odp_init(struct mlx5_ib_dev *dev)
	return mlx5_ib_odp_init_one(dev);
}

void mlx5_ib_stage_odp_cleanup(struct mlx5_ib_dev *dev)
static void mlx5_ib_stage_odp_cleanup(struct mlx5_ib_dev *dev)
{
	mlx5_ib_odp_cleanup_one(dev);
}