Parcourir la source

ACPI / cpuidle: Drop irrelevant comment from acpi_idle_enter_simple()

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@intel.com>
Rafael J. Wysocki il y a 11 ans
Parent
commit
de6cc4ec6e
1 fichiers modifiés avec 0 ajouts et 4 suppressions
  1. 0 4
      drivers/acpi/processor_idle.c

+ 0 - 4
drivers/acpi/processor_idle.c

@@ -785,10 +785,6 @@ static int acpi_idle_enter_simple(struct cpuidle_device *dev,
 	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)