Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249346
b: refs/heads/master
c: 3609269
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 3, 2011
1 parent d4a0b57 commit 4a52610
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 33 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: da548cb3f1ec3b1fd4ec2a848401398462ce3124
refs/heads/master: 360926923b184fddf4e570b7f970b33e4e52af40
32 changes: 0 additions & 32 deletions trunk/drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -622,30 +622,6 @@ static int vmbus_bus_init(struct pci_dev *pdev)
return ret;
}

/*
* vmbus_bus_exit - Terminate the vmbus driver.
*
* This routine is opposite of vmbus_bus_init()
*/
static void vmbus_bus_exit(void)
{


vmbus_release_unattached_channels();
vmbus_disconnect();
on_each_cpu(hv_synic_cleanup, NULL, 1);

hv_cleanup();

bus_unregister(&hv_bus.bus);

free_irq(hv_pci_dev->irq, hv_pci_dev);

tasklet_kill(&hv_bus.msg_dpc);
tasklet_kill(&hv_bus.event_dpc);
}


/**
* vmbus_child_driver_register() - Register a vmbus's child driver
* @drv: Pointer to driver structure you want to register
Expand Down Expand Up @@ -814,17 +790,9 @@ static int __init hv_pci_init(void)
return pci_register_driver(&hv_bus_driver);
}

static void __exit hv_pci_exit(void)
{
vmbus_bus_exit();
pci_unregister_driver(&hv_bus_driver);
}



MODULE_LICENSE("GPL");
MODULE_VERSION(HV_DRV_VERSION);
module_param(vmbus_loglevel, int, S_IRUGO|S_IWUSR);

module_init(hv_pci_init);
module_exit(hv_pci_exit);

0 comments on commit 4a52610

Please sign in to comment.