1
1

Remove an unused statically defined function.

This commit was SVN r21157.
Этот коммит содержится в:
George Bosilca 2009-05-05 13:23:49 +00:00
родитель 4a7e078dae
Коммит 271eb11f28
2 изменённых файлов: 1 добавлений и 61 удалений

Просмотреть файл

@ -162,36 +162,6 @@ OBJ_CLASS_INSTANCE( mca_pml_csum_send_request_t,
* Completion of a short message - nothing left to schedule.
*/
static inline void
mca_pml_csum_match_fast_completion_free( struct mca_btl_base_module_t* btl,
struct mca_btl_base_endpoint_t* ep,
struct mca_btl_base_descriptor_t* des )
{
mca_pml_csum_send_request_t* sendreq = (mca_pml_csum_send_request_t*)des->des_cbdata;
mca_bml_base_btl_t* bml_btl = (mca_bml_base_btl_t*) des->des_context;
if( sendreq->req_send.req_bytes_packed > 0 ) {
PERUSE_TRACE_COMM_EVENT( PERUSE_COMM_REQ_XFER_BEGIN,
&(sendreq->req_send.req_base), PERUSE_SEND );
}
if( sendreq->req_send.req_bytes_packed > 0 ) {
PERUSE_TRACE_COMM_EVENT( PERUSE_COMM_REQ_XFER_END,
&(sendreq->req_send.req_base), PERUSE_SEND);
}
/*
* We are on the fast path, so there is no need to lock the request, as at
* this point there is only one reference to it. Moreover, there is no
* need to signal anything, as nobody is waiting on it.
*/
MCA_PML_CSUM_SEND_REQUEST_MPI_COMPLETE(sendreq, false);
sendreq->req_send.req_base.req_pml_complete = true;
/* check for pending requests */
MCA_PML_CSUM_PROGRESS_PENDING(bml_btl);
}
static inline void
mca_pml_csum_match_completion_free_request( mca_bml_base_btl_t* bml_btl,
mca_pml_csum_send_request_t* sendreq )
@ -963,7 +933,7 @@ void mca_pml_csum_send_request_copy_in_out( mca_pml_csum_send_request_t *sendreq
ompi_free_list_item_t *i;
mca_bml_base_endpoint_t* bml_endpoint = sendreq->req_endpoint;
int num_btls = mca_bml_base_btl_array_get_size(&bml_endpoint->btl_send);
int rc = OMPI_SUCCESS, n;
int rc, n;
double weight_total = 0;
if( OPAL_UNLIKELY(0 == send_length) )

Просмотреть файл

@ -150,36 +150,6 @@ OBJ_CLASS_INSTANCE( mca_pml_ob1_send_request_t,
* Completion of a short message - nothing left to schedule.
*/
static inline void
mca_pml_ob1_match_fast_completion_free( struct mca_btl_base_module_t* btl,
struct mca_btl_base_endpoint_t* ep,
struct mca_btl_base_descriptor_t* des )
{
mca_pml_ob1_send_request_t* sendreq = (mca_pml_ob1_send_request_t*)des->des_cbdata;
mca_bml_base_btl_t* bml_btl = (mca_bml_base_btl_t*) des->des_context;
if( sendreq->req_send.req_bytes_packed > 0 ) {
PERUSE_TRACE_COMM_EVENT( PERUSE_COMM_REQ_XFER_BEGIN,
&(sendreq->req_send.req_base), PERUSE_SEND );
}
if( sendreq->req_send.req_bytes_packed > 0 ) {
PERUSE_TRACE_COMM_EVENT( PERUSE_COMM_REQ_XFER_END,
&(sendreq->req_send.req_base), PERUSE_SEND);
}
/*
* We are on the fast path, so there is no need to lock the request, as at
* this point there is only one reference to it. Moreover, there is no
* need to signal anything, as nobody is waiting on it.
*/
MCA_PML_OB1_SEND_REQUEST_MPI_COMPLETE(sendreq, false);
sendreq->req_send.req_base.req_pml_complete = true;
/* check for pending requests */
MCA_PML_OB1_PROGRESS_PENDING(bml_btl);
}
static inline void
mca_pml_ob1_match_completion_free_request( mca_bml_base_btl_t* bml_btl,
mca_pml_ob1_send_request_t* sendreq )