diff options
| -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 49373dafa703..8f75963b49b4 100644 --- a/drivers/staging/hv/channel_interface.c +++ b/drivers/staging/hv/channel_interface.c | |||
| @@ -25,18 +25,6 @@ | |||
| 25 | #include "osd.h" | 25 | #include "osd.h" |
| 26 | #include "vmbus_private.h" | 26 | #include "vmbus_private.h" |
| 27 | 27 | ||
| 28 | static int ivmbus_open(struct hv_device *device, u32 sendbuffer_size, | ||
| 29 | u32 recv_ringbuffer_size, void *userdata, | ||
| 30 | u32 userdatalen, | ||
| 31 | void (*channel_callback)(void *context), | ||
| 32 | void *context) | ||
| 33 | { | ||
| 34 | return vmbus_open(device->channel, sendbuffer_size, | ||
| 35 | recv_ringbuffer_size, userdata, userdatalen, | ||
| 36 | channel_callback, context); | ||
| 37 | } | ||
| 38 | |||
| 39 | /* vmbus interface function pointer table */ | 28 | /* vmbus interface function pointer table */ |
| 40 | const struct vmbus_channel_interface vmbus_ops = { | 29 | const struct vmbus_channel_interface vmbus_ops = { |
| 41 | .Open = ivmbus_open, | ||
| 42 | }; | 30 | }; |
diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h index 42050a1e3f0e..79a906f3e48c 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h | |||
| @@ -86,7 +86,6 @@ struct hv_device_info { | |||
| 86 | 86 | ||
| 87 | /** | 87 | /** |
| 88 | * struct vmbus_channel_interface - Contains member functions for vmbus channel | 88 | * struct vmbus_channel_interface - Contains member functions for vmbus channel |
| 89 | * @Open: Open the channel | ||
| 90 | * | 89 | * |
| 91 | * This structure contains function pointer to control vmbus channel | 90 | * This structure contains function pointer to control vmbus channel |
| 92 | * behavior. None of these functions is externally callable, but they | 91 | * behavior. None of these functions is externally callable, but they |
| @@ -94,10 +93,6 @@ struct hv_device_info { | |||
| 94 | * Only used by Hyper-V drivers. | 93 | * Only used by Hyper-V drivers. |
| 95 | */ | 94 | */ |
| 96 | struct vmbus_channel_interface { | 95 | struct vmbus_channel_interface { |
| 97 | int (*Open)(struct hv_device *Device, u32 SendBufferSize, | ||
| 98 | u32 RecvRingBufferSize, void *UserData, u32 UserDataLen, | ||
| 99 | void (*ChannelCallback)(void *context), | ||
| 100 | void *Context); | ||
| 101 | }; | 96 | }; |
| 102 | 97 | ||
| 103 | extern const struct vmbus_channel_interface vmbus_ops; | 98 | extern const struct vmbus_channel_interface vmbus_ops; |
