Browse Source

Revert "Set iSize for thermal device enum first."

This reverts commit 990bb4a994261fb0aca8a6bd1b324a3007583207.

Thermal devices is not used. 1st of 3 reverts.
Con Kolivas 14 years ago
parent
commit
4ae0aad113
1 changed files with 0 additions and 1 deletions
  1. 0 1
      adl.c

+ 0 - 1
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");