diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-02 08:34:45 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-02 08:34:45 -0800 |
commit | 9d8bd71ad4f295f80450b5089d239c3135802699 (patch) | |
tree | 162c0e7ff8beefef07f704c7a882fd81f0f6cd32 /drivers/staging/hv/channel_mgmt.c | |
parent | 9205307cd88f09e51f2c4aeba79266317a299853 (diff) | |
download | linux-stable-9d8bd71ad4f295f80450b5089d239c3135802699.tar.gz linux-stable-9d8bd71ad4f295f80450b5089d239c3135802699.tar.bz2 linux-stable-9d8bd71ad4f295f80450b5089d239c3135802699.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c index 3105fd1afe7d..0f4d6093f674 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) |