From: Greg Kroah-Hartman Date: Thu, 21 Oct 2010 16:26:50 +0000 (-0700) Subject: Staging: hv: storvsc: call vmbus_sendpacket_multipagebuffer directly X-Git-Tag: v2.6.37-rc1~60^2~3^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=51255071af2feeb753ee3d90981869bef1566552;p=thirdparty%2Fkernel%2Flinux.git Staging: hv: storvsc: call vmbus_sendpacket_multipagebuffer directly Don't do the interface indirection, it's not needed at all. Cc: Haiyang Zhang Cc: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/storvsc.c b/drivers/staging/hv/storvsc.c index a270396ee5208..ef01b94d350cc 100644 --- a/drivers/staging/hv/storvsc.c +++ b/drivers/staging/hv/storvsc.c @@ -735,8 +735,7 @@ static int StorVscOnIORequest(struct hv_device *Device, vstorPacket->VmSrb.CdbLength); if (requestExtension->Request->DataBuffer.Length) { - ret = Device->Driver->VmbusChannelInterface. - SendPacketMultiPageBuffer(Device, + ret = vmbus_sendpacket_multipagebuffer(Device->channel, &requestExtension->Request->DataBuffer, vstorPacket, sizeof(struct vstor_packet),