aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/power.c')
-rw-r--r--drivers/acpi/power.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c
index 30d4a5282a2d..89111cd28ed8 100644
--- a/drivers/acpi/power.c
+++ b/drivers/acpi/power.c
@@ -517,11 +517,6 @@ int acpi_power_transition(struct acpi_device *device, int state)
517 cl = &device->power.states[device->power.state].resources; 517 cl = &device->power.states[device->power.state].resources;
518 tl = &device->power.states[state].resources; 518 tl = &device->power.states[state].resources;
519 519
520 if (!cl->count && !tl->count) {
521 result = -ENODEV;
522 goto end;
523 }
524
525 /* TBD: Resources must be ordered. */ 520 /* TBD: Resources must be ordered. */
526 521
527 /* 522 /*