summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpi_pad.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2015-10-26 04:02:01 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-10-26 04:42:54 +0100
commit21657471688508ced523b3bf0a763d73d546ad1a (patch)
tree953b9b11f6b213ec96f66909f045c816de9ed2af /drivers/acpi/acpi_pad.c
parent32b88194f71d6ae7768a29f87fbba454728273ee (diff)
ACPI / PAD: power_saving_thread() is not freezable
power_saving_thread() calls try_to_freeze(), but the thread doesn't mark itself freezable through set_freezable(), so the try_to_freeze() call is useless. Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_pad.c')
-rw-r--r--drivers/acpi/acpi_pad.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c
index ae307ff36acb..8ea8211b2d58 100644
--- a/drivers/acpi/acpi_pad.c
+++ b/drivers/acpi/acpi_pad.c
@@ -148,8 +148,6 @@ static int power_saving_thread(void *data)
while (!kthread_should_stop()) {
unsigned long expire_time;
- try_to_freeze();
-
/* round robin to cpus */
expire_time = last_jiffies + round_robin_time * HZ;
if (time_before(expire_time, jiffies)) {