Staging: hv: remove SendPacketMultiPageBuffer from struct vmbus_channel_interface
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Oct 2010 16:28:30 +0000 (09:28 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Oct 2010 16:28:30 +0000 (09:28 -0700)
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>
drivers/staging/hv/channel_interface.c
drivers/staging/hv/vmbus_api.h

index 0f8e9f0adefa478168b500e8ab76bdf53ef934bb..4032e9c46f20c40c2d07237f12a5363715988e4e 100644 (file)
@@ -59,20 +59,10 @@ static int ivmbus_sendpacket_pagebuffer(struct hv_device *device,
                                                requestid);
 }
 
-static int ivmbus_sendpacket_multipagebuffer(struct hv_device *device,
-                               struct hv_multipage_buffer *multi_pagebuffer,
-                               void *buffer, u32 bufferlen, u64 requestid)
-{
-       return vmbus_sendpacket_multipagebuffer(device->channel,
-                                                    multi_pagebuffer, buffer,
-                                                    bufferlen, requestid);
-}
-
 /* vmbus interface function pointer table */
 const struct vmbus_channel_interface vmbus_ops = {
        .Open = ivmbus_open,
        .Close = ivmbus_close,
        .SendPacket = ivmbus_sendpacket,
        .SendPacketPageBuffer = ivmbus_sendpacket_pagebuffer,
-       .SendPacketMultiPageBuffer = ivmbus_sendpacket_multipagebuffer,
 };
index 3f727d9b06c15e906bbca9856d5baf001eeb82d0..6ff0de3e670827f3dedb0d5e22017fcea1464133 100644 (file)
@@ -90,7 +90,6 @@ struct hv_device_info {
  * @Close:     Close the channel
  * @SendPacket:        Send a packet over the channel
  * @SendPacketPageBuffer:      Send a single page buffer over the channel
- * @SendPacketMultiPageBuffer: Send a multiple page buffers
  *
  * This structure contains function pointer to control vmbus channel
  * behavior. None of these functions is externally callable, but they
@@ -109,11 +108,6 @@ struct vmbus_channel_interface {
                                    struct hv_page_buffer PageBuffers[],
                                    u32 PageCount, void *Buffer, u32 BufferLen,
                                    u64 RequestId);
-       int (*SendPacketMultiPageBuffer)(struct hv_device *device,
-                                        struct hv_multipage_buffer *mpb,
-                                        void *Buffer,
-                                        u32 BufferLen,
-                                        u64 RequestId);
 };
 
 extern const struct vmbus_channel_interface vmbus_ops;