Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118805
b: refs/heads/master
c: 676962d
h: refs/heads/master
i:
  118803: 3f07a7a
v: v3
  • Loading branch information
Zhao Yakui authored and Len Brown committed Oct 28, 2008
1 parent dff21c7 commit c6e9352
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b1b57fbe9bb10d94682a975456de7a727d1dbc84
refs/heads/master: 676962dac6e267ce7c13f73962208f9124a084bb
5 changes: 0 additions & 5 deletions trunk/drivers/acpi/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,11 +517,6 @@ int acpi_power_transition(struct acpi_device *device, int state)
cl = &device->power.states[device->power.state].resources;
tl = &device->power.states[state].resources;

if (!cl->count && !tl->count) {
result = -ENODEV;
goto end;
}

/* TBD: Resources must be ordered. */

/*
Expand Down

0 comments on commit c6e9352

Please sign in to comment.