RDMA/cma: Remove unused leftovers in cma code
PATCH 1/1 RDMA/cma: Remove unused leftovers in cma code
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 <[email protected]>
--- drivers/infiniband/core/cma.c | 9 --------- 1 file changed, 9 deletions(-)
drivers/infiniband/core/cma.c +0 -9
@@ -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) {
Signature · 1 line
2.30.2
Quoted 9 lines · Gal Pressman
Commit
ee1c60b1bff8("IB/SA: Modify SA to implicitly cache Class Port info") removed theclass_port_info_contextstruct usage, remove a couple of leftovers.Signed-off-by Gal Pressman <[email protected]>--- drivers/infiniband/core/cma.c | 9 --------- 1 file changed, 9 deletions(-)
Thanks,
Reviewed-by Leon Romanovsky <[email protected]>
Quoted 9 lines · Gal Pressman
Commit
ee1c60b1bff8("IB/SA: Modify SA to implicitly cache Class Port info") removed theclass_port_info_contextstruct usage, remove a couple of leftovers.Signed-off-by Gal Pressman <[email protected]>Reviewed-by Leon Romanovsky <[email protected]>--- drivers/infiniband/core/cma.c | 9 --------- 1 file changed, 9 deletions(-)
Applied to for-next, thanks
Jason