aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/channel_mgmt.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-12-02 08:34:45 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-02 08:34:45 -0800
commit9d8bd71ad4f295f80450b5089d239c3135802699 (patch)
tree162c0e7ff8beefef07f704c7a882fd81f0f6cd32 /drivers/staging/hv/channel_mgmt.c
parent9205307cd88f09e51f2c4aeba79266317a299853 (diff)
Staging: hv: remove OnChildDeviceRemove vmbus_driver callback
It's only ever set to one function, so just call that function instead. Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/channel_mgmt.c')
-rw-r--r--drivers/staging/hv/channel_mgmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c
index 3105fd1afe7..0f4d6093f67 100644
--- a/drivers/staging/hv/channel_mgmt.c
+++ b/drivers/staging/hv/channel_mgmt.c
@@ -413,7 +413,7 @@ static void vmbus_process_rescind_offer(void *context)
{
struct vmbus_channel *channel = context;
- VmbusChildDeviceRemove(channel->device_obj);
+ vmbus_child_device_unregister(channel->device_obj);
}
/*
@@ -847,7 +847,7 @@ void vmbus_release_unattached_channels(void)
"Releasing unattached device object %p",
channel->device_obj);
- VmbusChildDeviceRemove(channel->device_obj);
+ vmbus_child_device_unregister(channel->device_obj);
free_channel(channel);
} else {
if (!start)