Commit 4ae0aad113452f6459042109c2d52ba8c6e560a2

Con Kolivas 2012-01-30T08:05:36

Revert "Set iSize for thermal device enum first." This reverts commit 990bb4a994261fb0aca8a6bd1b324a3007583207. Thermal devices is not used. 1st of 3 reverts.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/adl.c b/adl.c
index aad827b..a7cd0eb 100644
--- a/adl.c
+++ b/adl.c
@@ -316,7 +316,6 @@ void init_adl(int nDevs)
 		ga->DefPerfLev = NULL;
 		ga->twin = NULL;
 
-		ga->lpThermalControllerInfo.iSize=sizeof(ADLThermalControllerInfo);
 		if (ADL_Overdrive5_ThermalDevices_Enum(iAdapterIndex, 0, &ga->lpThermalControllerInfo) != ADL_OK)
 			applog(LOG_INFO, "Failed to ADL_Overdrive5_ThermalDevices_Enum");