diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-02 08:22:41 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-02 08:24:55 -0800 |
commit | 89733aa9cca016a542dc621d147a32d6b0fcdad5 (patch) | |
tree | 63d586b77f3f8dd7707cbd72ef0e6544e0744a98 /drivers/staging/hv/channel_mgmt.c | |
parent | 2cb22a7a5624603b9db3571fc65489f5389b512c (diff) | |
download | op-kernel-dev-89733aa9cca016a542dc621d147a32d6b0fcdad5.zip op-kernel-dev-89733aa9cca016a542dc621d147a32d6b0fcdad5.tar.gz |
Staging: hv: remove OnChildDeviceCreate 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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c index ae830f2..3105fd1 100644 --- a/drivers/staging/hv/channel_mgmt.c +++ b/drivers/staging/hv/channel_mgmt.c @@ -355,7 +355,7 @@ static void vmbus_process_offer(void *context) * We need to set the DeviceObject field before calling * VmbusChildDeviceAdd() */ - newchannel->device_obj = VmbusChildDeviceCreate( + newchannel->device_obj = vmbus_child_device_create( &newchannel->offermsg.offer.InterfaceType, &newchannel->offermsg.offer.InterfaceInstance, newchannel); |