@@ -63,13 +63,6 @@ int ompi_request_default_wait(
6363 OMPI_COPY_STATUS (status , req -> req_status , false);
6464 }
6565
66- #if OMPI_HAVE_MPI_EXT_CONTINUE
67- if (OMPI_REQUEST_CONT == req -> req_type ) {
68- /* continuation requests are alwys active, don't modify the state */
69- return req -> req_status .MPI_ERROR ;
70- }
71- #endif // OMPI_HAVE_MPI_EXT_CONTINUE
72-
7366 if ( req -> req_persistent ) {
7467 if ( req -> req_state == OMPI_REQUEST_INACTIVE ) {
7568 if (MPI_STATUS_IGNORE != status ) {
@@ -78,13 +71,6 @@ int ompi_request_default_wait(
7871 return OMPI_SUCCESS ;
7972 }
8073
81- #if OMPI_HAVE_MPI_EXT_CONTINUE
82- if (OMPI_REQUEST_CONT == req -> req_type ) {
83- /* continuation requests are alwys active, don't modify the state */
84- return req -> req_status .MPI_ERROR ;
85- }
86- #endif // OMPI_HAVE_MPI_EXT_CONTINUE
87-
8874 req -> req_state = OMPI_REQUEST_INACTIVE ;
8975 return req -> req_status .MPI_ERROR ;
9076 }
@@ -245,14 +231,7 @@ int ompi_request_default_wait_any(size_t count,
245231 }
246232 rc = request -> req_status .MPI_ERROR ;
247233 if ( request -> req_persistent ) {
248- #if OMPI_HAVE_MPI_EXT_CONTINUE
249- if (OMPI_REQUEST_CONT != request -> req_type ) {
250- request -> req_state = OMPI_REQUEST_INACTIVE ;
251- }
252- #else // OMPI_HAVE_MPI_EXT_CONTINUE
253234 request -> req_state = OMPI_REQUEST_INACTIVE ;
254- #endif // OMPI_HAVE_MPI_EXT_CONTINUE
255-
256235 } else if (MPI_SUCCESS == rc ) {
257236 /* Only free the request if there is no error on it */
258237 /* If there's an error while freeing the request,
@@ -408,14 +387,6 @@ int ompi_request_default_wait_all( size_t count,
408387
409388 OMPI_COPY_STATUS (& statuses [i ], request -> req_status , true);
410389
411-
412- #if OMPI_HAVE_MPI_EXT_CONTINUE
413- if (OMPI_REQUEST_CONT == request -> req_type ) {
414- /* continuation requests are alwys active, don't modify the state */
415- continue ;
416- }
417- #endif // OMPI_HAVE_MPI_EXT_CONTINUE
418-
419390 if ( request -> req_persistent ) {
420391 request -> req_state = OMPI_REQUEST_INACTIVE ;
421392 continue ;
@@ -487,13 +458,6 @@ int ompi_request_default_wait_all( size_t count,
487458
488459 rc = request -> req_status .MPI_ERROR ;
489460
490- #if OMPI_HAVE_MPI_EXT_CONTINUE
491- if (OMPI_REQUEST_CONT == request -> req_type ) {
492- /* continuation requests are alwys active, don't modify the state */
493- continue ;
494- }
495- #endif // OMPI_HAVE_MPI_EXT_CONTINUE
496-
497461 if ( request -> req_persistent ) {
498462 request -> req_state = OMPI_REQUEST_INACTIVE ;
499463 } else if (MPI_SUCCESS == rc ) {
@@ -702,13 +666,6 @@ int ompi_request_default_wait_some(size_t count,
702666 rc = MPI_ERR_IN_STATUS ;
703667 }
704668
705- #if OMPI_HAVE_MPI_EXT_CONTINUE
706- if (OMPI_REQUEST_CONT == request -> req_type ) {
707- /* continuation requests are alwys active, don't modify the state */
708- continue ;
709- }
710- #endif // OMPI_HAVE_MPI_EXT_CONTINUE
711-
712669 if ( request -> req_persistent ) {
713670 request -> req_state = OMPI_REQUEST_INACTIVE ;
714671 } else {
0 commit comments