diff --git a/ompi/request/request.h b/ompi/request/request.h index a8623a64fc..20737ae0ae 100644 --- a/ompi/request/request.h +++ b/ompi/request/request.h @@ -351,9 +351,7 @@ static inline int ompi_request_cancel(ompi_request_t* request) */ static inline int ompi_request_free(ompi_request_t** request) { - if ((*request)->req_free) { - return (*request)->req_free(request); - } + return (*request)->req_free(request); } #define ompi_request_test (ompi_request_functions.req_test)