Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72824
b: refs/heads/master
c: c9e4172
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Len Brown committed Oct 25, 2007
1 parent 892e6c4 commit 690e60c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 93ad7c07ad487b036add8760dabcc35666a550ef
refs/heads/master: c9e4172cde0f793dbf48c99bdfd0abe7d18e4b09
4 changes: 0 additions & 4 deletions trunk/drivers/acpi/battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,10 +554,6 @@ static ssize_t acpi_battery_write_alarm(struct file *file,

if (!battery || (count > sizeof(alarm_string) - 1))
return -EINVAL;
if (result) {
result = -ENODEV;
goto end;
}
if (!acpi_battery_present(battery)) {
result = -ENODEV;
goto end;
Expand Down

0 comments on commit 690e60c

Please sign in to comment.