Skip to contentSkip to conversation

mlx5: delete unused prototype

PATCH Applied Alexey Dobriyan 2 participants 2 messages Jan 23, 2024 – Jan 25, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mlx5: delete unused prototype

mlx5_ib_copy_pas() doesn't exist anymore (and g++ doesn't like it because "new" is reserved keyword in C++).

---

 drivers/infiniband/hw/mlx5/mlx5_ib.h |    1 -
 1 file changed, 1 deletion(-)
drivers/infiniband/hw/mlx5/mlx5_ib.h +0 -1
@@ -1377,7 +1377,6 @@ int mlx5_ib_query_port(struct ib_device *ibdev, u32 port,
 		       struct ib_port_attr *props);
 void mlx5_ib_populate_pas(struct ib_umem *umem, size_t page_size, __be64 *pas,
 			  u64 access_flags);
-void mlx5_ib_copy_pas(u64 *old, u64 *new, int step, int num);
 int mlx5_ib_get_cqe_size(struct ib_cq *ibcq);
 int mlx5_mkey_cache_init(struct mlx5_ib_dev *dev);
 void mlx5_mkey_cache_cleanup(struct mlx5_ib_dev *dev);