diff options
| -rw-r--r-- | drivers/staging/hv/channel_interface.c | 11 | ||||
| -rw-r--r-- | drivers/staging/hv/vmbus_api.h | 5 |
2 files changed, 0 insertions, 16 deletions
diff --git a/drivers/staging/hv/channel_interface.c b/drivers/staging/hv/channel_interface.c index 4032e9c46f20..a288b70b13c0 100644 --- a/drivers/staging/hv/channel_interface.c +++ b/drivers/staging/hv/channel_interface.c | |||
| @@ -49,20 +49,9 @@ static int ivmbus_sendpacket(struct hv_device *device, const void *buffer, | |||
| 49 | requestid, type, flags); | 49 | requestid, type, flags); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | static int ivmbus_sendpacket_pagebuffer(struct hv_device *device, | ||
| 53 | struct hv_page_buffer pagebuffers[], | ||
| 54 | u32 pagecount, void *buffer, | ||
| 55 | u32 bufferlen, u64 requestid) | ||
| 56 | { | ||
| 57 | return vmbus_sendpacket_pagebuffer(device->channel, pagebuffers, | ||
| 58 | pagecount, buffer, bufferlen, | ||
| 59 | requestid); | ||
| 60 | } | ||
| 61 | |||
| 62 | /* vmbus interface function pointer table */ | 52 | /* vmbus interface function pointer table */ |
| 63 | const struct vmbus_channel_interface vmbus_ops = { | 53 | const struct vmbus_channel_interface vmbus_ops = { |
| 64 | .Open = ivmbus_open, | 54 | .Open = ivmbus_open, |
| 65 | .Close = ivmbus_close, | 55 | .Close = ivmbus_close, |
| 66 | .SendPacket = ivmbus_sendpacket, | 56 | .SendPacket = ivmbus_sendpacket, |
| 67 | .SendPacketPageBuffer = ivmbus_sendpacket_pagebuffer, | ||
| 68 | }; | 57 | }; |
diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h index 6ff0de3e6708..9fe983043574 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h | |||
| @@ -89,7 +89,6 @@ struct hv_device_info { | |||
| 89 | * @Open: Open the channel | 89 | * @Open: Open the channel |
| 90 | * @Close: Close the channel | 90 | * @Close: Close the channel |
| 91 | * @SendPacket: Send a packet over the channel | 91 | * @SendPacket: Send a packet over the channel |
| 92 | * @SendPacketPageBuffer: Send a single page buffer over the channel | ||
| 93 | * | 92 | * |
| 94 | * This structure contains function pointer to control vmbus channel | 93 | * This structure contains function pointer to control vmbus channel |
| 95 | * behavior. None of these functions is externally callable, but they | 94 | * behavior. None of these functions is externally callable, but they |
| @@ -104,10 +103,6 @@ struct vmbus_channel_interface { | |||
| 104 | void (*Close)(struct hv_device *device); | 103 | void (*Close)(struct hv_device *device); |
| 105 | int (*SendPacket)(struct hv_device *Device, const void *Buffer, | 104 | int (*SendPacket)(struct hv_device *Device, const void *Buffer, |
| 106 | u32 BufferLen, u64 RequestId, u32 Type, u32 Flags); | 105 | u32 BufferLen, u64 RequestId, u32 Type, u32 Flags); |
| 107 | int (*SendPacketPageBuffer)(struct hv_device *dev, | ||
| 108 | struct hv_page_buffer PageBuffers[], | ||
| 109 | u32 PageCount, void *Buffer, u32 BufferLen, | ||
| 110 | u64 RequestId); | ||
| 111 | }; | 106 | }; |
| 112 | 107 | ||
| 113 | extern const struct vmbus_channel_interface vmbus_ops; | 108 | extern const struct vmbus_channel_interface vmbus_ops; |
