Skip to content

Commit

Permalink
Pull sbs into release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Len Brown committed Aug 12, 2007
2 parents 27196c3 + bc90a01 commit 4e54e9f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/acpi/sbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,7 @@ static int acpi_sbs_update_run(struct acpi_sbs *sbs, int id, int data_type)
char dir_name[32];
int do_battery_init = 0, do_ac_init = 0;
int old_remaining_capacity = 0;
int update_ac = 1, update_battery = 1;
int update_battery = 1;
int up_tm = update_time;

if (sbs_zombie(sbs)) {
Expand All @@ -1435,10 +1435,6 @@ static int acpi_sbs_update_run(struct acpi_sbs *sbs, int id, int data_type)

sbs->run_cnt++;

if (!update_ac && !update_battery) {
goto end;
}

old_ac_present = sbs->ac.ac_present;

result = acpi_ac_get_present(sbs);
Expand Down

0 comments on commit 4e54e9f

Please sign in to comment.