1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

Revert "Read off lpThermalControllerInfo from each ADL device."

This reverts commit 2d29cdb6117be29ff6353d94a6be0784a588fdb6.
This commit is contained in:
Con Kolivas 2012-01-30 08:06:00 +11:00
parent 4ae0aad113
commit 430a19543e
2 changed files with 0 additions and 4 deletions

3
adl.c
View File

@ -316,9 +316,6 @@ void init_adl(int nDevs)
ga->DefPerfLev = NULL;
ga->twin = NULL;
if (ADL_Overdrive5_ThermalDevices_Enum(iAdapterIndex, 0, &ga->lpThermalControllerInfo) != ADL_OK)
applog(LOG_INFO, "Failed to ADL_Overdrive5_ThermalDevices_Enum");
ga->lpOdParameters.iSize = sizeof(ADLODParameters);
if (ADL_Overdrive5_ODParameters_Get(iAdapterIndex, &ga->lpOdParameters) != ADL_OK)
applog(LOG_INFO, "Failed to ADL_Overdrive5_ODParameters_Get");

View File

@ -206,7 +206,6 @@ struct gpu_adl {
ADLFanSpeedInfo lpFanSpeedInfo;
ADLFanSpeedValue lpFanSpeedValue;
ADLFanSpeedValue DefFanSpeedValue;
ADLThermalControllerInfo lpThermalControllerInfo;
int iEngineClock;
int iMemoryClock;