[PATCH 3/5] ACPI / cpuidle: Drop irrelevant comment from acpi_idle_enter_simple()

From: Rafael J. Wysocki
Date: Thu Jan 29 2015 - 13:08:28 EST


From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

The comment about bus master disable in acpi_idle_enter_simple() is
irrelevant, because the function doesn't disable bus mastering, so
drop it.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
---
drivers/acpi/processor_idle.c | 4 ----
1 file changed, 4 deletions(-)

Index: linux-pm/drivers/acpi/processor_idle.c
===================================================================
--- linux-pm.orig/drivers/acpi/processor_idle.c
+++ linux-pm/drivers/acpi/processor_idle.c
@@ -785,10 +785,6 @@ static int acpi_idle_enter_simple(struct
if (acpi_idle_fallback_to_c1(pr))
return acpi_idle_enter_c1(dev, drv, CPUIDLE_DRIVER_STATE_START);

- /*
- * Must be done before busmaster disable as we might need to
- * access HPET !
- */
lapic_timer_state_broadcast(pr, cx, 1);

if (cx->type == ACPI_STATE_C3)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/