• Xin Zhao's avatar
    Change argument of function finish_op_on_target. · 1b30ab19
    Xin Zhao authored
    In this patch, we replace one argument of function
    finish_op_on_target, "packet(op) type", with "has_response_data".
    Since finish_op_on_target does not care what specific
    packet(op) type it is processing on, but only cares
    about if the current op has response data (like GET/GACC),
    changing the argument in this way can simplify the
    code by avoiding acquiring packet(op) type everytime
    before calling finish_op_on_target.
    Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@anl.gov>