Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141982
b: refs/heads/master
c: 53af9cf
h: refs/heads/master
v: v3
  • Loading branch information
Len Brown authored and Len Brown committed Apr 3, 2009
1 parent bd2aea0 commit ef1b7bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 2a9ef8e1a856be8e526bb9b10fb98c5012f6e3f8
refs/heads/master: 53af9cfb37af5e03ee2b24c5d5c4963c34e5b765
6 changes: 2 additions & 4 deletions trunk/drivers/acpi/processor_throttling.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,11 +783,9 @@ static int acpi_get_throttling_state(struct acpi_processor *pr,
(struct acpi_processor_tx_tss *)&(pr->throttling.
states_tss[i]);
if (tx->control == value)
break;
return i;
}
if (i > pr->throttling.state_count)
i = -1;
return i;
return -1;
}

static int acpi_get_throttling_value(struct acpi_processor *pr,
Expand Down

0 comments on commit ef1b7bb

Please sign in to comment.