mlx5: delete unused prototype
Subsystems (2)
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++).
Signed-off-by Alexey Dobriyan <[email protected]>
---
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);
Leon Romanovsky
AppliedQuoted 4 lines · Alexey Dobriyan
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,
Signature · 1 line
Leon Romanovsky <[email protected]>