Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH] mlx5: delete unused prototype
@ 2024-01-23 10:35 Alexey Dobriyan
  2024-01-25 10:07 ` Leon Romanovsky
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2024-01-23 10:35 UTC (permalink / raw)
  To: Jason Gunthorpe, Leon Romanovsky; +Cc: linux-rdma

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(-)

--- 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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mlx5: delete unused prototype
  2024-01-23 10:35 [PATCH] mlx5: delete unused prototype Alexey Dobriyan
@ 2024-01-25 10:07 ` Leon Romanovsky
  0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2024-01-25 10:07 UTC (permalink / raw)
  To: Jason Gunthorpe, Leon Romanovsky, Alexey Dobriyan; +Cc: linux-rdma


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,
-- 
Leon Romanovsky <leon@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-25 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-23 10:35 [PATCH] mlx5: delete unused prototype Alexey Dobriyan
2024-01-25 10:07 ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox