Skip to content

Commit

Permalink
Removed surface zone
Browse files Browse the repository at this point in the history
This was not used for a while.
  • Loading branch information
spandruvada committed Jul 22, 2018
1 parent 1e3b5a8 commit d046b93
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 189 deletions.
1 change: 0 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ thermald_SOURCES = \
src/thd_sys_fs.cpp \
src/thd_trip_point.cpp \
src/thd_zone.cpp \
src/thd_zone_surface.cpp \
src/thd_zone_cpu.cpp \
src/thd_zone_therm_sys_fs.cpp \
src/thd_zone_dynamic.cpp \
Expand Down
20 changes: 0 additions & 20 deletions src/thd_engine_default.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include "thd_cdev_cpufreq.h"
#include "thd_cdev_rapl.h"
#include "thd_cdev_intel_pstate_driver.h"
#include "thd_zone_surface.h"
#include "thd_cdev_rapl_dram.h"
#include "thd_sensor_virtual.h"
#include "thd_cdev_backlight.h"
Expand Down Expand Up @@ -474,25 +473,6 @@ int cthd_engine_default::read_thermal_zones() {
}
current_zone_index = index;

#ifdef ACTIVATE_SURFACE
// Enable when skin sensors are standardized
cthd_zone *surface;
surface = search_zone("Surface");

if (!surface || (surface && !surface->zone_active_status())) {
cthd_zone_surface *zone = new cthd_zone_surface(index);
if (zone->zone_update() == THD_SUCCESS) {
zones.push_back(zone);
++index;
zone->set_zone_active();
} else
delete zone;
} else {
thd_log_info("TSKN sensor was activated by config \n");
}
current_zone_index = index;
#endif

if (!zones.size()) {
thd_log_info("No Thermal Zones found \n");
return THD_FATAL_ERROR;
Expand Down
121 changes: 0 additions & 121 deletions src/thd_zone_surface.cpp

This file was deleted.

47 changes: 0 additions & 47 deletions src/thd_zone_surface.h

This file was deleted.

0 comments on commit d046b93

Please sign in to comment.