summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-10-21 09:11:00 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-21 09:11:00 -0700
commit559f816e13b1e40e274d1aeeaaa7468986f997c0 (patch)
treedb39f684af8f3b5e3dfcb0ae9b611ea184100cba /drivers/staging
parent9f630068e8ccba24d728f196cb3ddc120ebee38e (diff)
downloadlinux-stable-559f816e13b1e40e274d1aeeaaa7468986f997c0.tar.gz
linux-stable-559f816e13b1e40e274d1aeeaaa7468986f997c0.tar.bz2
linux-stable-559f816e13b1e40e274d1aeeaaa7468986f997c0.zip
Staging: hv: remove RecvPacketRaw 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.c9
-rw-r--r--drivers/staging/hv/vmbus_api.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/hv/channel_interface.c b/drivers/staging/hv/channel_interface.c
index 35b700f8612b..e504e9878421 100644
--- a/drivers/staging/hv/channel_interface.c
+++ b/drivers/staging/hv/channel_interface.c
@@ -76,14 +76,6 @@ static int ivmbus_recvpacket(struct hv_device *device, void *buffer,
buffer_actuallen, requestid);
}
-static int ivmbus_recvpacket_raw(struct hv_device *device, void *buffer,
- u32 bufferlen, u32 *buffer_actuallen,
- u64 *requestid)
-{
- return vmbus_recvpacket_raw(device->channel, buffer, bufferlen,
- buffer_actuallen, requestid);
-}
-
/* vmbus interface function pointer table */
const struct vmbus_channel_interface vmbus_ops = {
.Open = ivmbus_open,
@@ -92,5 +84,4 @@ const struct vmbus_channel_interface vmbus_ops = {
.SendPacketPageBuffer = ivmbus_sendpacket_pagebuffer,
.SendPacketMultiPageBuffer = ivmbus_sendpacket_multipagebuffer,
.RecvPacket = ivmbus_recvpacket,
- .RecvPacketRaw = ivmbus_recvpacket_raw,
};
diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h
index 17e3c9addc67..b3f2132cf431 100644
--- a/drivers/staging/hv/vmbus_api.h
+++ b/drivers/staging/hv/vmbus_api.h
@@ -92,7 +92,6 @@ struct hv_device_info {
* @SendPacketPageBuffer: Send a single page buffer over the channel
* @SendPacketMultiPageBuffer: Send a multiple page buffers
* @RecvPacket: Receive packet
- * @RecvPacketRaw: Receive Raw packet
*
* This structure contains function pointer to control vmbus channel
* behavior. None of these functions is externally callable, but they
@@ -118,8 +117,6 @@ struct vmbus_channel_interface {
u64 RequestId);
int (*RecvPacket)(struct hv_device *dev, void *buf, u32 buflen,
u32 *BufferActualLen, u64 *RequestId);
- int (*RecvPacketRaw)(struct hv_device *dev, void *buf, u32 buflen,
- u32 *BufferActualLen, u64 *RequestId);
};
extern const struct vmbus_channel_interface vmbus_ops;