Remove thread safe only mutex warning message

In multiple GPUs environment, too many warning messages generated,
and then need to be removed.

Change-Id: I275de2397eb0e6b189e2e17e94335cb1e8f97815


[ROCm/amdsmi commit: 78ee3f5e5a]
This commit is contained in:
Bill(Shuzhou) Liu
2024-05-02 11:09:57 -05:00
committed by Galantsev, Dmitrii
parent a1aec9c971
commit 39f37c5d33
@@ -141,7 +141,6 @@ shared_mutex_t shared_mutex_init(const char *name, mode_t mode, bool retried) {
amd::smi::RocmSMI& smi = amd::smi::RocmSMI::getInstance();
if (GetEnvVarUInteger(THREAD_ONLY_ENV_VAR) == 1 || smi.is_thread_only_mutex()) {
fprintf(stderr, "rocm-smi: using thread safe only mutex\n");
return init_thread_safe_only(name);
}