Skip to content

Commit

Permalink
Staging: hv: remove EstablishGpadl from struct vmbus_channel_interface
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Oct 21, 2010
1 parent 81f1620 commit d068cb4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions drivers/staging/hv/channel_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,6 @@ static int ivmbus_recvpacket_raw(struct hv_device *device, void *buffer,
buffer_actuallen, requestid);
}

static int ivmbus_establish_gpadl(struct hv_device *device, void *buffer,
u32 bufferlen, u32 *gpadl_handle)
{
return vmbus_establish_gpadl(device->context, buffer, bufferlen,
gpadl_handle);
}

/* vmbus interface function pointer table */
const struct vmbus_channel_interface vmbus_ops = {
.Open = ivmbus_open,
Expand All @@ -100,5 +93,4 @@ const struct vmbus_channel_interface vmbus_ops = {
.SendPacketMultiPageBuffer = ivmbus_sendpacket_multipagebuffer,
.RecvPacket = ivmbus_recvpacket,
.RecvPacketRaw = ivmbus_recvpacket_raw,
.EstablishGpadl = ivmbus_establish_gpadl,
};
3 changes: 0 additions & 3 deletions drivers/staging/hv/vmbus_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ struct hv_device_info {
* @SendPacketMultiPageBuffer: Send a multiple page buffers
* @RecvPacket: Receive packet
* @RecvPacketRaw: Receive Raw packet
* @EstablishGpadl: Set up GPADL for ringbuffer
*
* This structure contains function pointer to control vmbus channel
* behavior. None of these functions is externally callable, but they
Expand Down Expand Up @@ -121,8 +120,6 @@ struct vmbus_channel_interface {
u32 *BufferActualLen, u64 *RequestId);
int (*RecvPacketRaw)(struct hv_device *dev, void *buf, u32 buflen,
u32 *BufferActualLen, u64 *RequestId);
int (*EstablishGpadl)(struct hv_device *dev, void *buf, u32 buflen,
u32 *GpadlHandle);
};

extern const struct vmbus_channel_interface vmbus_ops;
Expand Down

0 comments on commit d068cb4

Please sign in to comment.