Message ID | a2cb861e-d11e-4567-8a73-73763d1dc199@p183 (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | mlx5: delete unused prototype | expand |
On Tue, 23 Jan 2024 13:35:38 +0300, Alexey Dobriyan wrote: > mlx5_ib_copy_pas() doesn't exist anymore (and g++ doesn't like it > because "new" is reserved keyword in C++). > > Applied, thanks! [1/1] mlx5: delete unused prototype https://git.kernel.org/rdma/rdma/c/a400073ce3dd3d Best regards,
--- a/drivers/infiniband/hw/mlx5/mlx5_ib.h +++ b/drivers/infiniband/hw/mlx5/mlx5_ib.h @@ -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);
mlx5_ib_copy_pas() doesn't exist anymore (and g++ doesn't like it because "new" is reserved keyword in C++). Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> --- drivers/infiniband/hw/mlx5/mlx5_ib.h | 1 - 1 file changed, 1 deletion(-)