diff --git a/ompi/mca/btl/openib/btl_openib.c b/ompi/mca/btl/openib/btl_openib.c index 6246ec61b2..c3c579ac78 100644 --- a/ompi/mca/btl/openib/btl_openib.c +++ b/ompi/mca/btl/openib/btl_openib.c @@ -236,8 +236,6 @@ int mca_btl_openib_add_procs( OPAL_THREAD_UNLOCK(&ib_proc->proc_lock); return OMPI_ERROR; } - /* we caching REMOTE_LID to the endpoint */ - endpoint->lid = ib_proc->proc_ports[j].lid; } #endif mca_btl_openib_endpoint_init(openib_btl, endpoint); diff --git a/ompi/mca/btl/openib/btl_openib_endpoint.h b/ompi/mca/btl/openib/btl_openib_endpoint.h index 07590d444d..2aaf60c3c4 100644 --- a/ompi/mca/btl/openib/btl_openib_endpoint.h +++ b/ompi/mca/btl/openib/btl_openib_endpoint.h @@ -193,8 +193,6 @@ struct mca_btl_base_endpoint_t { uint64_t subnet_id; /**< subnet id of this endpoint*/ - uint16_t lid; /**< used only for xrc. caching remote lid number. - Pasha: do we need to cache it here ?!!! */ struct ib_address_t *ib_addr; /**< used only for xrc; pointer to struct that keeps remote port info */