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-Url: https://git.stricted.de/?a=commitdiff_plain;h=51255071af2feeb753ee3d90981869bef1566552;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 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, 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),