summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-10-21 09:54:42 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-21 09:54:42 -0700
commitba9bf63080bea106e91e4639cea8940b9b3851a1 (patch)
treea5e7608d08f0f5aeeacdc6149405150bcb4cc28d /drivers/staging
parent1fb9dff04c97398c4c10a97037aa1c3505663153 (diff)
Staging: hv: remove Close from struct vmbus_channel_interface
No one calls it anymore, so remove it. 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')
-rw-r--r--drivers/staging/hv/channel_interface.c6
-rw-r--r--drivers/staging/hv/vmbus_api.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/hv/channel_interface.c b/drivers/staging/hv/channel_interface.c
index b818bcf886aa..49373dafa703 100644
--- a/drivers/staging/hv/channel_interface.c
+++ b/drivers/staging/hv/channel_interface.c
@@ -36,13 +36,7 @@ static int ivmbus_open(struct hv_device *device, u32 sendbuffer_size,
channel_callback, context);
}
-static void ivmbus_close(struct hv_device *device)
-{
- vmbus_close(device->channel);
-}
-
/* vmbus interface function pointer table */
const struct vmbus_channel_interface vmbus_ops = {
.Open = ivmbus_open,
- .Close = ivmbus_close,
};
diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h
index ec352c38aa5c..42050a1e3f0e 100644
--- a/drivers/staging/hv/vmbus_api.h
+++ b/drivers/staging/hv/vmbus_api.h
@@ -87,7 +87,6 @@ struct hv_device_info {
/**
* struct vmbus_channel_interface - Contains member functions for vmbus channel
* @Open: Open the channel
- * @Close: Close the channel
*
* This structure contains function pointer to control vmbus channel
* behavior. None of these functions is externally callable, but they
@@ -99,7 +98,6 @@ struct vmbus_channel_interface {
u32 RecvRingBufferSize, void *UserData, u32 UserDataLen,
void (*ChannelCallback)(void *context),
void *Context);
- void (*Close)(struct hv_device *device);
};
extern const struct vmbus_channel_interface vmbus_ops;