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/vmbus.c | |
parent | 2cb22a7a5624603b9db3571fc65489f5389b512c (diff) | |
download | linux-stable-89733aa9cca016a542dc621d147a32d6b0fcdad5.tar.gz linux-stable-89733aa9cca016a542dc621d147a32d6b0fcdad5.tar.bz2 linux-stable-89733aa9cca016a542dc621d147a32d6b0fcdad5.zip |
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/vmbus.c')
-rw-r--r-- | drivers/staging/hv/vmbus.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/hv/vmbus.c b/drivers/staging/hv/vmbus.c index e6462c6774d1..163c743ea476 100644 --- a/drivers/staging/hv/vmbus.c +++ b/drivers/staging/hv/vmbus.c @@ -61,19 +61,6 @@ static void VmbusGetChannelOffers(void) } /* - * VmbusCreateChildDevice - Creates the child device on the bus that represents the channel offer - */ -struct hv_device *VmbusChildDeviceCreate(struct hv_guid *DeviceType, - struct hv_guid *DeviceInstance, - struct vmbus_channel *channel) -{ - struct vmbus_driver *vmbusDriver = (struct vmbus_driver *)gDriver; - - return vmbusDriver->OnChildDeviceCreate(DeviceType, DeviceInstance, - channel); -} - -/* * VmbusChildDeviceAdd - Registers the child device with the vmbus */ int VmbusChildDeviceAdd(struct hv_device *ChildDevice) |