Revert "Read off lpThermalControllerInfo from each ADL device." This reverts commit 2d29cdb6117be29ff6353d94a6be0784a588fdb6.
diff --git a/adl.c b/adl.c
index a7cd0eb..5a19c74 100644
--- a/adl.c
+++ b/adl.c
@@ -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");
diff --git a/miner.h b/miner.h
index d91b82f..47e773d 100644
--- a/miner.h
+++ b/miner.h
@@ -206,7 +206,6 @@ struct gpu_adl {
ADLFanSpeedInfo lpFanSpeedInfo;
ADLFanSpeedValue lpFanSpeedValue;
ADLFanSpeedValue DefFanSpeedValue;
- ADLThermalControllerInfo lpThermalControllerInfo;
int iEngineClock;
int iMemoryClock;