Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19334
b: refs/heads/master
c: 94f91de
h: refs/heads/master
v: v3
  • Loading branch information
Rocky Craig authored and Linus Torvalds committed Feb 1, 2006
1 parent 6ce6e03 commit 8eebe1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: 386093ef9a6c88576d8b418bf1c8616d5e410a20
refs/heads/master: 94f91def998efe3b79780f3b39b6c87d390dbe4c
8 changes: 0 additions & 8 deletions trunk/drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1580,11 +1580,6 @@ static int try_init_acpi(int intf_num, struct smi_info **new_info)
if (! is_new_interface(-1, addr_space, spmi->addr.address))
return -ENODEV;

if (! spmi->addr.register_bit_width) {
acpi_failure = 1;
return -ENODEV;
}

/* Figure out the interface type. */
switch (spmi->InterfaceType)
{
Expand Down Expand Up @@ -1634,9 +1629,6 @@ static int try_init_acpi(int intf_num, struct smi_info **new_info)
regspacings[intf_num] = spmi->addr.register_bit_width / 8;
info->io.regspacing = spmi->addr.register_bit_width / 8;
} else {
/* Some broken systems get this wrong and set the value
* to zero. Assume it is the default spacing. If that
* is wrong, too bad, the vendor should fix the tables. */
regspacings[intf_num] = DEFAULT_REGSPACING;
info->io.regspacing = DEFAULT_REGSPACING;
}
Expand Down

0 comments on commit 8eebe1a

Please sign in to comment.