* [PATCH for-next] RDMA/cma: Remove unused leftovers in cma code
@ 2021-03-14 14:34 Gal Pressman
2021-03-18 8:09 ` Leon Romanovsky
2021-03-22 13:00 ` Jason Gunthorpe
0 siblings, 2 replies; 3+ messages in thread
From: Gal Pressman @ 2021-03-14 14:34 UTC (permalink / raw)
To: Jason Gunthorpe, Doug Ledford; +Cc: linux-rdma, Gal Pressman
Commit ee1c60b1bff8 ("IB/SA: Modify SA to implicitly cache Class Port info")
removed the class_port_info_context struct usage, remove a couple of
leftovers.
Signed-off-by: Gal Pressman <galpress@amazon.com>
---
drivers/infiniband/core/cma.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
index 4fba08ed252f..532f2c09a53d 100644
--- a/drivers/infiniband/core/cma.c
+++ b/drivers/infiniband/core/cma.c
@@ -43,7 +43,6 @@ MODULE_DESCRIPTION("Generic RDMA CM Agent");
MODULE_LICENSE("Dual BSD/GPL");
#define CMA_CM_RESPONSE_TIMEOUT 20
-#define CMA_QUERY_CLASSPORT_INFO_TIMEOUT 3000
#define CMA_MAX_CM_RETRIES 15
#define CMA_CM_MRA_SETTING (IB_CM_MRA_FLAG_DELAY | 24)
#define CMA_IBOE_PACKET_LIFETIME 18
@@ -219,14 +218,6 @@ struct rdma_bind_list {
unsigned short port;
};
-struct class_port_info_context {
- struct ib_class_port_info *class_port_info;
- struct ib_device *device;
- struct completion done;
- struct ib_sa_query *sa_query;
- u8 port_num;
-};
-
static int cma_ps_alloc(struct net *net, enum rdma_ucm_port_space ps,
struct rdma_bind_list *bind_list, int snum)
{
--
2.30.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH for-next] RDMA/cma: Remove unused leftovers in cma code
2021-03-14 14:34 [PATCH for-next] RDMA/cma: Remove unused leftovers in cma code Gal Pressman
@ 2021-03-18 8:09 ` Leon Romanovsky
2021-03-22 13:00 ` Jason Gunthorpe
1 sibling, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2021-03-18 8:09 UTC (permalink / raw)
To: Gal Pressman; +Cc: Jason Gunthorpe, Doug Ledford, linux-rdma
On Sun, Mar 14, 2021 at 04:34:27PM +0200, Gal Pressman wrote:
> Commit ee1c60b1bff8 ("IB/SA: Modify SA to implicitly cache Class Port info")
> removed the class_port_info_context struct usage, remove a couple of
> leftovers.
>
> Signed-off-by: Gal Pressman <galpress@amazon.com>
> ---
> drivers/infiniband/core/cma.c | 9 ---------
> 1 file changed, 9 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH for-next] RDMA/cma: Remove unused leftovers in cma code
2021-03-14 14:34 [PATCH for-next] RDMA/cma: Remove unused leftovers in cma code Gal Pressman
2021-03-18 8:09 ` Leon Romanovsky
@ 2021-03-22 13:00 ` Jason Gunthorpe
1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2021-03-22 13:00 UTC (permalink / raw)
To: Gal Pressman; +Cc: Doug Ledford, linux-rdma
On Sun, Mar 14, 2021 at 04:34:27PM +0200, Gal Pressman wrote:
> Commit ee1c60b1bff8 ("IB/SA: Modify SA to implicitly cache Class Port info")
> removed the class_port_info_context struct usage, remove a couple of
> leftovers.
>
> Signed-off-by: Gal Pressman <galpress@amazon.com>
> Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
> ---
> drivers/infiniband/core/cma.c | 9 ---------
> 1 file changed, 9 deletions(-)
Applied to for-next, thanks
Jason
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-22 13:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-14 14:34 [PATCH for-next] RDMA/cma: Remove unused leftovers in cma code Gal Pressman
2021-03-18 8:09 ` Leon Romanovsky
2021-03-22 13:00 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox