diff --git a/src/tools/perf/lib/ucp_tests.cc b/src/tools/perf/lib/ucp_tests.cc index 425132c0d42..588fa39f6dd 100644 --- a/src/tools/perf/lib/ucp_tests.cc +++ b/src/tools/perf/lib/ucp_tests.cc @@ -728,12 +728,7 @@ class ucp_perf_test_runner { bool use_ack() const { /* TODO: daemon does not support bi-directional flow */ - if (m_perf.params.ucp.is_daemon_mode) { - return false; - } - - return (CMD == UCX_PERF_CMD_TAG) || (CMD == UCX_PERF_CMD_TAG_SYNC) || - (CMD == UCX_PERF_CMD_AM); + return !m_perf.params.ucp.is_daemon_mode; } void send_ack(void *buffer, ucp_datatype_t datatype)