diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 10:00:19 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 10:00:19 -0700 |
commit | 036a257b0d6809988f9d3fb01e01c358ca8c45de (patch) | |
tree | ed1be80467df76b8912764b9a050c666e18cd274 /drivers/staging/hv | |
parent | 60f841ac36cc7eff80239bd219cda7cafac3ea2a (diff) | |
download | kernel_samsung_smdk4412-036a257b0d6809988f9d3fb01e01c358ca8c45de.zip kernel_samsung_smdk4412-036a257b0d6809988f9d3fb01e01c358ca8c45de.tar.gz kernel_samsung_smdk4412-036a257b0d6809988f9d3fb01e01c358ca8c45de.tar.bz2 |
Staging: hv: remove Open 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/hv')
-rw-r--r-- | drivers/staging/hv/channel_interface.c | 12 | ||||
-rw-r--r-- | drivers/staging/hv/vmbus_api.h | 5 |
2 files changed, 0 insertions, 17 deletions
diff --git a/drivers/staging/hv/channel_interface.c b/drivers/staging/hv/channel_interface.c index 49373da..8f75963 100644 --- a/drivers/staging/hv/channel_interface.c +++ b/drivers/staging/hv/channel_interface.c @@ -25,18 +25,6 @@ #include "osd.h" #include "vmbus_private.h" -static int ivmbus_open(struct hv_device *device, u32 sendbuffer_size, - u32 recv_ringbuffer_size, void *userdata, - u32 userdatalen, - void (*channel_callback)(void *context), - void *context) -{ - return vmbus_open(device->channel, sendbuffer_size, - recv_ringbuffer_size, userdata, userdatalen, - channel_callback, context); -} - /* vmbus interface function pointer table */ const struct vmbus_channel_interface vmbus_ops = { - .Open = ivmbus_open, }; diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h index 42050a1..79a906f 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h @@ -86,7 +86,6 @@ struct hv_device_info { /** * struct vmbus_channel_interface - Contains member functions for vmbus channel - * @Open: Open the channel * * This structure contains function pointer to control vmbus channel * behavior. None of these functions is externally callable, but they @@ -94,10 +93,6 @@ struct hv_device_info { * Only used by Hyper-V drivers. */ struct vmbus_channel_interface { - int (*Open)(struct hv_device *Device, u32 SendBufferSize, - u32 RecvRingBufferSize, void *UserData, u32 UserDataLen, - void (*ChannelCallback)(void *context), - void *Context); }; extern const struct vmbus_channel_interface vmbus_ops; |