From 430a19543ede2baedfc98148d31585a0d041a737 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 30 Jan 2012 08:06:00 +1100 Subject: [PATCH] Revert "Read off lpThermalControllerInfo from each ADL device." This reverts commit 2d29cdb6117be29ff6353d94a6be0784a588fdb6. --- adl.c | 3 --- miner.h | 1 - 2 files changed, 4 deletions(-) diff --git a/adl.c b/adl.c index a7cd0ebf..5a19c741 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 d91b82f9..47e773d8 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;