• Xin Zhao's avatar
    Fix #1701 - cleanup code for zero-size data transfer. · dc9275be
    Xin Zhao authored
    Delete code for zero-size data transfer in packet handlers
    of Put/Accumulate/Accumulate_Immed/Get_AccumulateResp/GetResp/
    LockPutUnlock/LockAccumUnlock, because they are redundant.
    (Note that packet handlers of LockPutUnlock and LockAccumUnlock
    are for single operation optimization in passive RMA)
    Zero-size data transfer has already been handled when issuing
    RMA operations (L146, L258, L369 in src/mpid/ch3/src/ch3u_rma_ops.c
    and L50 in src/mpid/ch3/src/ch3u_rma_acc_ops.c). RMA operation
    routines will directly exit if data size is zero.
    Signed-off-by: default avatarWesley Bland <wbland@mcs.anl.gov>