Remove the unused len var while we're at it.
Change-Id: Iabaf3b8704072a8758b213a54530eaffbf0c7ae5
void *data)
{
struct samsung_power_module *samsung_pwr = (struct samsung_power_module *) module;
- int len;
/* Bail out if low-power mode is active */
if (current_power_profile == PROFILE_POWER_SAVE && hint != POWER_HINT_LOW_POWER
- && hint != POWER_HINT_SET_PROFILE) {
+ && hint != POWER_HINT_SET_PROFILE && hint != POWER_HINT_DISABLE_TOUCH) {
ALOGV("%s: PROFILE_POWER_SAVE active, ignoring hint %d", __func__, hint);
return;
}