aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/vmbus_drv.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-10-21 10:03:44 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-21 10:03:44 -0700
commit8ee48db6be4d6634d3ade242470381040d4b8e21 (patch)
tree9eff923dc517adf117fe83eb16e99870276e6e95 /drivers/staging/hv/vmbus_drv.c
parentStaging: hv: remove Open from struct vmbus_channel_interface (diff)
downloadlinux-dev-8ee48db6be4d6634d3ade242470381040d4b8e21.tar.xz
linux-dev-8ee48db6be4d6634d3ade242470381040d4b8e21.zip
Staging: hv: remove struct vmbus_channel_interface
Now that no one uses this structure, remove it, and channel_interface.c (which is now empty) and the function, vmbus_get_interface() which is not needed anymore either. 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_drv.c')
-rw-r--r--drivers/staging/hv/vmbus_drv.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c
index 92ba95c7c6d6..0d9f3a411e72 100644
--- a/drivers/staging/hv/vmbus_drv.c
+++ b/drivers/staging/hv/vmbus_drv.c
@@ -485,23 +485,6 @@ void vmbus_child_driver_unregister(struct driver_context *driver_ctx)
}
EXPORT_SYMBOL(vmbus_child_driver_unregister);
-/**
- * vmbus_get_interface() - Get the vmbus channel interface.
- * @interface: Pointer to channel interface structure
- *
- * Get the Hyper-V channel used for the driver.
- *
- * @interface is of type &struct vmbus_channel_interface
- * This is invoked by child/client driver that sits above vmbus.
- *
- * Mainly used by Hyper-V drivers.
- */
-void vmbus_get_interface(struct vmbus_channel_interface *interface)
-{
- *interface = vmbus_ops;
-}
-EXPORT_SYMBOL(vmbus_get_interface);
-
/*
* vmbus_child_device_create - Creates and registers a new child device
* on the vmbus.