Index: mpid/ch_gen2/mpid_hrecv.c =================================================================== --- mpid/ch_gen2/mpid_hrecv.c (revision 2989) +++ mpid/ch_gen2/mpid_hrecv.c (working copy) @@ -118,20 +118,6 @@ } - /* We have a non-contiguous buffer. - * Normally we would check for a null user buffer inside - * MPID_VIA_Irecv, but in this case we will pass the allocated - * buffer, not the user buffer, so check the user buffer - * here. - */ - - if (Is_MPI_Bottom(buf, count, dtype_ptr)) { - /* do not have to adjust ptr here */ - } else if (buf == 0 && count > 0) { - *error_code = MPI_ERR_BUFFER; - return; - } - /* Increment reference count for this type */ MPIR_Type_dup(dtype_ptr); ---------------------------------------------------------------------------