Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236540
b: refs/heads/master
c: f51b359
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Mar 14, 2011
1 parent d49ce7b commit 6c67d4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 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: 480ae58db525e57cc18611eec7ae24633d2e7efc
refs/heads/master: f51b3593bbea8b403117212588bda87429545fa7
17 changes: 3 additions & 14 deletions trunk/drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,18 +172,6 @@ static int vmbus_dev_add(struct hv_device *dev, void *info)
return ret;
}

/*
* vmbus_dev_rm - Callback when the root bus device is removed
*/
static int vmbus_dev_rm(struct hv_device *dev)
{
int ret = 0;

vmbus_release_unattached_channels();
vmbus_disconnect();
on_each_cpu(hv_synic_cleanup, NULL, 1);
return ret;
}

/*
* vmbus_cleanup - Perform any cleanup when the driver is removed
Expand Down Expand Up @@ -568,8 +556,9 @@ static void vmbus_bus_exit(void)

struct hv_device *dev_ctx = &vmbus_drv.device_ctx;

/* Remove the root device */
vmbus_dev_rm(dev_ctx);
vmbus_release_unattached_channels();
vmbus_disconnect();
on_each_cpu(hv_synic_cleanup, NULL, 1);

vmbus_cleanup();

Expand Down

0 comments on commit 6c67d4f

Please sign in to comment.