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/vmbus.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/vmbus.c')
-rw-r--r-- | drivers/staging/hv/vmbus.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/hv/vmbus.c b/drivers/staging/hv/vmbus.c index 163c743ea476..d7db7d0f5ee6 100644 --- a/drivers/staging/hv/vmbus.c +++ b/drivers/staging/hv/vmbus.c @@ -71,16 +71,6 @@ int VmbusChildDeviceAdd(struct hv_device *ChildDevice) } /* - * VmbusChildDeviceRemove Unregisters the child device from the vmbus - */ -void VmbusChildDeviceRemove(struct hv_device *ChildDevice) -{ - struct vmbus_driver *vmbusDriver = (struct vmbus_driver *)gDriver; - - vmbusDriver->OnChildDeviceRemove(ChildDevice); -} - -/* * VmbusOnDeviceAdd - Callback when the root bus device is added */ static int VmbusOnDeviceAdd(struct hv_device *dev, void *AdditionalInfo) |