diff --git a/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp b/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp index cbed58c79f..ab5e50cfab 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp @@ -1635,15 +1635,11 @@ bool CALGSLDevice::gslSetClockMode(GSLClockModeInfo * clockModeInfo) { bool result = false; -#ifdef _WIN32 const void* requestClockInfo = reinterpret_cast(clockModeInfo); uint32 uReturn = m_adp->requestClockModeInfo((void*)requestClockInfo); if(uReturn == GSL_SETCLOCK_SUCCESS || uReturn == GSL_SETCLOCK_QUERY_ONLY) { result = true; } -#else - result = true; -#endif return result; } \ No newline at end of file