]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: PM: s2idle: Drop unused local variables and related code
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 Jan 2021 18:19:18 +0000 (19:19 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Jan 2021 16:41:28 +0000 (17:41 +0100)
commitc87df046d0a10e39adcb43a90f9e61b744bc8021
tree6fec7f254b0c5827fb88071bb0d0ce3ee2fcb76e
parent7ef47eb101f0dca6dbe94b167f11a8b3cbd1be02
ACPI: PM: s2idle: Drop unused local variables and related code

Two local variables in drivers/acpi/x86/s2idle.c are never read, so
drop them along with the code updating their values (in vain).

Fixes: 2c0950d5fcb7 ("ACPI: PM: s2idle: Move x86-specific code to the x86 directory")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/s2idle.c