diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 08:50:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 08:50:16 -0700 |
commit | d068cb4f6f469627af0a5bd45d3a21ed0df81368 (patch) | |
tree | f8dca0000cb6e7b38314aeccdbf58eb0ce4e650b /drivers/staging | |
parent | 81f162035745b59d0defd210751d52c20d4b6746 (diff) | |
download | kernel_samsung_crespo-d068cb4f6f469627af0a5bd45d3a21ed0df81368.zip kernel_samsung_crespo-d068cb4f6f469627af0a5bd45d3a21ed0df81368.tar.gz kernel_samsung_crespo-d068cb4f6f469627af0a5bd45d3a21ed0df81368.tar.bz2 |
Staging: hv: remove EstablishGpadl 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 | 8 | ||||
-rw-r--r-- | drivers/staging/hv/vmbus_api.h | 3 |
2 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/hv/channel_interface.c b/drivers/staging/hv/channel_interface.c index c23a021..5016668 100644 --- a/drivers/staging/hv/channel_interface.c +++ b/drivers/staging/hv/channel_interface.c @@ -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, @@ -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, }; diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h index bd68a07..c052012 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h @@ -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 @@ -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; |