Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

Link: https://lore.kernel.org/r/20210314143427.76101-1-galpress@amazon.com
Signed-off-by: Gal Pressman <galpress@amazon.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>

authored by

Gal Pressman and committed by
Jason Gunthorpe
87115951 fdb68dd3

-9
-9
drivers/infiniband/core/cma.c
··· 43 43 MODULE_LICENSE("Dual BSD/GPL"); 44 44 45 45 #define CMA_CM_RESPONSE_TIMEOUT 20 46 - #define CMA_QUERY_CLASSPORT_INFO_TIMEOUT 3000 47 46 #define CMA_MAX_CM_RETRIES 15 48 47 #define CMA_CM_MRA_SETTING (IB_CM_MRA_FLAG_DELAY | 24) 49 48 #define CMA_IBOE_PACKET_LIFETIME 18 ··· 216 217 enum rdma_ucm_port_space ps; 217 218 struct hlist_head owners; 218 219 unsigned short port; 219 - }; 220 - 221 - struct class_port_info_context { 222 - struct ib_class_port_info *class_port_info; 223 - struct ib_device *device; 224 - struct completion done; 225 - struct ib_sa_query *sa_query; 226 - u8 port_num; 227 220 }; 228 221 229 222 static int cma_ps_alloc(struct net *net, enum rdma_ucm_port_space ps,