aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-10-21 12:26:50 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-21 12:26:50 -0400
commit51255071af2feeb753ee3d90981869bef1566552 (patch)
tree76d58d201921706808dec8cd63ceedb5523c6679 /drivers/staging
parent4cb106faf1e1d5566eded521d14e141b5eac36e2 (diff)
Staging: hv: storvsc: call vmbus_sendpacket_multipagebuffer directly
Don't do the interface indirection, it's not needed at all. 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/storvsc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/hv/storvsc.c b/drivers/staging/hv/storvsc.c
index a270396ee520..ef01b94d350c 100644
--- a/drivers/staging/hv/storvsc.c
+++ b/drivers/staging/hv/storvsc.c
@@ -735,8 +735,7 @@ static int StorVscOnIORequest(struct hv_device *Device,
735 vstorPacket->VmSrb.CdbLength); 735 vstorPacket->VmSrb.CdbLength);
736 736
737 if (requestExtension->Request->DataBuffer.Length) { 737 if (requestExtension->Request->DataBuffer.Length) {
738 ret = Device->Driver->VmbusChannelInterface. 738 ret = vmbus_sendpacket_multipagebuffer(Device->channel,
739 SendPacketMultiPageBuffer(Device,
740 &requestExtension->Request->DataBuffer, 739 &requestExtension->Request->DataBuffer,
741 vstorPacket, 740 vstorPacket,
742 sizeof(struct vstor_packet), 741 sizeof(struct vstor_packet),