Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259448
b: refs/heads/master
c: 0246604
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent ad412b4 commit 5d79570
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 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: 607c1a11d0ca017d12134444c3cca4da1f6594f8
refs/heads/master: 0246604ce0367b0c414cc77a05362308ef4ede54
15 changes: 2 additions & 13 deletions trunk/drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -758,18 +758,6 @@ static struct acpi_driver vmbus_acpi_driver = {
},
};

static int vmbus_acpi_init(void)
{
int result;


result = acpi_bus_register_driver(&vmbus_acpi_driver);
if (result < 0)
return result;

return 0;
}

static void vmbus_acpi_exit(void)
{
acpi_bus_unregister_driver(&vmbus_acpi_driver);
Expand Down Expand Up @@ -800,7 +788,8 @@ static int __init hv_acpi_init(void)
* Get irq resources first.
*/

ret = vmbus_acpi_init();
ret = acpi_bus_register_driver(&vmbus_acpi_driver);

if (ret)
return ret;

Expand Down

0 comments on commit 5d79570

Please sign in to comment.