diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 12:11:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 12:11:00 -0400 |
commit | 559f816e13b1e40e274d1aeeaaa7468986f997c0 (patch) | |
tree | db39f684af8f3b5e3dfcb0ae9b611ea184100cba | |
parent | 9f630068e8ccba24d728f196cb3ddc120ebee38e (diff) |
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>
-rw-r--r-- | drivers/staging/hv/channel_interface.c | 9 | ||||
-rw-r--r-- | drivers/staging/hv/vmbus_api.h | 3 |
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, | |||
76 | buffer_actuallen, requestid); | 76 | buffer_actuallen, requestid); |
77 | } | 77 | } |
78 | 78 | ||
79 | static int ivmbus_recvpacket_raw(struct hv_device *device, void *buffer, | ||
80 | u32 bufferlen, u32 *buffer_actuallen, | ||
81 | u64 *requestid) | ||
82 | { | ||
83 | return vmbus_recvpacket_raw(device->channel, buffer, bufferlen, | ||
84 | buffer_actuallen, requestid); | ||
85 | } | ||
86 | |||
87 | /* vmbus interface function pointer table */ | 79 | /* vmbus interface function pointer table */ |
88 | const struct vmbus_channel_interface vmbus_ops = { | 80 | const struct vmbus_channel_interface vmbus_ops = { |
89 | .Open = ivmbus_open, | 81 | .Open = ivmbus_open, |
@@ -92,5 +84,4 @@ const struct vmbus_channel_interface vmbus_ops = { | |||
92 | .SendPacketPageBuffer = ivmbus_sendpacket_pagebuffer, | 84 | .SendPacketPageBuffer = ivmbus_sendpacket_pagebuffer, |
93 | .SendPacketMultiPageBuffer = ivmbus_sendpacket_multipagebuffer, | 85 | .SendPacketMultiPageBuffer = ivmbus_sendpacket_multipagebuffer, |
94 | .RecvPacket = ivmbus_recvpacket, | 86 | .RecvPacket = ivmbus_recvpacket, |
95 | .RecvPacketRaw = ivmbus_recvpacket_raw, | ||
96 | }; | 87 | }; |
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 { | |||
92 | * @SendPacketPageBuffer: Send a single page buffer over the channel | 92 | * @SendPacketPageBuffer: Send a single page buffer over the channel |
93 | * @SendPacketMultiPageBuffer: Send a multiple page buffers | 93 | * @SendPacketMultiPageBuffer: Send a multiple page buffers |
94 | * @RecvPacket: Receive packet | 94 | * @RecvPacket: Receive packet |
95 | * @RecvPacketRaw: Receive Raw packet | ||
96 | * | 95 | * |
97 | * This structure contains function pointer to control vmbus channel | 96 | * This structure contains function pointer to control vmbus channel |
98 | * behavior. None of these functions is externally callable, but they | 97 | * behavior. None of these functions is externally callable, but they |
@@ -118,8 +117,6 @@ struct vmbus_channel_interface { | |||
118 | u64 RequestId); | 117 | u64 RequestId); |
119 | int (*RecvPacket)(struct hv_device *dev, void *buf, u32 buflen, | 118 | int (*RecvPacket)(struct hv_device *dev, void *buf, u32 buflen, |
120 | u32 *BufferActualLen, u64 *RequestId); | 119 | u32 *BufferActualLen, u64 *RequestId); |
121 | int (*RecvPacketRaw)(struct hv_device *dev, void *buf, u32 buflen, | ||
122 | u32 *BufferActualLen, u64 *RequestId); | ||
123 | }; | 120 | }; |
124 | 121 | ||
125 | extern const struct vmbus_channel_interface vmbus_ops; | 122 | extern const struct vmbus_channel_interface vmbus_ops; |