diff options
author | Jiri Kosina <jkosina@suse.cz> | 2015-10-26 04:02:01 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-10-26 04:42:54 +0100 |
commit | 21657471688508ced523b3bf0a763d73d546ad1a (patch) | |
tree | 953b9b11f6b213ec96f66909f045c816de9ed2af /drivers/acpi/acpi_pad.c | |
parent | 32b88194f71d6ae7768a29f87fbba454728273ee (diff) | |
download | linux-stable-21657471688508ced523b3bf0a763d73d546ad1a.tar.gz linux-stable-21657471688508ced523b3bf0a763d73d546ad1a.tar.bz2 linux-stable-21657471688508ced523b3bf0a763d73d546ad1a.zip |
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.c | 2 |
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)) { |