diff options
| -rw-r--r-- | drivers/staging/hv/channel_interface.c | 6 | ||||
| -rw-r--r-- | drivers/staging/hv/vmbus_api.h | 2 |
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, | |||
| 36 | channel_callback, context); | 36 | channel_callback, context); |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | static void ivmbus_close(struct hv_device *device) | ||
| 40 | { | ||
| 41 | vmbus_close(device->channel); | ||
| 42 | } | ||
| 43 | |||
| 44 | /* vmbus interface function pointer table */ | 39 | /* vmbus interface function pointer table */ |
| 45 | const struct vmbus_channel_interface vmbus_ops = { | 40 | const struct vmbus_channel_interface vmbus_ops = { |
| 46 | .Open = ivmbus_open, | 41 | .Open = ivmbus_open, |
| 47 | .Close = ivmbus_close, | ||
| 48 | }; | 42 | }; |
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 { | |||
| 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 | 89 | * @Open: Open the channel |
| 90 | * @Close: Close the channel | ||
| 91 | * | 90 | * |
| 92 | * This structure contains function pointer to control vmbus channel | 91 | * This structure contains function pointer to control vmbus channel |
| 93 | * behavior. None of these functions is externally callable, but they | 92 | * behavior. None of these functions is externally callable, but they |
| @@ -99,7 +98,6 @@ struct vmbus_channel_interface { | |||
| 99 | u32 RecvRingBufferSize, void *UserData, u32 UserDataLen, | 98 | u32 RecvRingBufferSize, void *UserData, u32 UserDataLen, |
| 100 | void (*ChannelCallback)(void *context), | 99 | void (*ChannelCallback)(void *context), |
| 101 | void *Context); | 100 | void *Context); |
| 102 | void (*Close)(struct hv_device *device); | ||
| 103 | }; | 101 | }; |
| 104 | 102 | ||
| 105 | extern const struct vmbus_channel_interface vmbus_ops; | 103 | extern const struct vmbus_channel_interface vmbus_ops; |
