diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 12:34:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 12:34:43 -0400 |
commit | b3289aa819979dc75c169e15515ce3d2f0576e71 (patch) | |
tree | 3329fca158c7c69549f054811660c3041d322aa8 /drivers/staging | |
parent | ff3f8eece20bb45f8b515641b3797b6047a657fd (diff) |
Staging: hv: remove SendPacketPageBuffer 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')
-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; |