summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/vmbus_api.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-12-02 08:22:41 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-02 08:24:55 -0800
commit89733aa9cca016a542dc621d147a32d6b0fcdad5 (patch)
tree63d586b77f3f8dd7707cbd72ef0e6544e0744a98 /drivers/staging/hv/vmbus_api.h
parent2cb22a7a5624603b9db3571fc65489f5389b512c (diff)
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_api.h')
-rw-r--r--drivers/staging/hv/vmbus_api.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h
index 2af42e55007..e26365c0e79 100644
--- a/drivers/staging/hv/vmbus_api.h
+++ b/drivers/staging/hv/vmbus_api.h
@@ -122,9 +122,6 @@ struct vmbus_driver {
struct hv_driver Base;
/* Set by the caller */
- struct hv_device * (*OnChildDeviceCreate)(struct hv_guid *DeviceType,
- struct hv_guid *DeviceInstance,
- struct vmbus_channel *channel);
void (*OnChildDeviceDestroy)(struct hv_device *device);
int (*OnChildDeviceAdd)(struct hv_device *RootDevice,
struct hv_device *ChildDevice);