Skip to content

Commit f3ffed0

Browse files
Kamalheibjgunthorpe
authored andcommitted
IB/mlx5: Make mlx5_ib_stage_odp_cleanup() static
The function mlx5_ib_stage_odp_cleanup() is only used in main.c Fixes: d5d284b ("{net,IB}/mlx5: Move Page fault EQ and ODP logic to RDMA") Signed-off-by: Kamal Heib <[email protected]> Acked-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 0b5cb33 commit f3ffed0

File tree

1 file changed

+1
-1
lines changed
  • drivers/infiniband/hw/mlx5

1 file changed

+1
-1
lines changed

drivers/infiniband/hw/mlx5/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6176,7 +6176,7 @@ static int mlx5_ib_stage_odp_init(struct mlx5_ib_dev *dev)
61766176
return mlx5_ib_odp_init_one(dev);
61776177
}
61786178

6179-
void mlx5_ib_stage_odp_cleanup(struct mlx5_ib_dev *dev)
6179+
static void mlx5_ib_stage_odp_cleanup(struct mlx5_ib_dev *dev)
61806180
{
61816181
mlx5_ib_odp_cleanup_one(dev);
61826182
}

0 commit comments

Comments
 (0)