提交 51255071 编写于 作者: G Greg Kroah-Hartman

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: NGreg Kroah-Hartman <gregkh@suse.de>
上级 4cb106fa
...@@ -735,8 +735,7 @@ static int StorVscOnIORequest(struct hv_device *Device, ...@@ -735,8 +735,7 @@ static int StorVscOnIORequest(struct hv_device *Device,
vstorPacket->VmSrb.CdbLength); vstorPacket->VmSrb.CdbLength);
if (requestExtension->Request->DataBuffer.Length) { if (requestExtension->Request->DataBuffer.Length) {
ret = Device->Driver->VmbusChannelInterface. ret = vmbus_sendpacket_multipagebuffer(Device->channel,
SendPacketMultiPageBuffer(Device,
&requestExtension->Request->DataBuffer, &requestExtension->Request->DataBuffer,
vstorPacket, vstorPacket,
sizeof(struct vstor_packet), sizeof(struct vstor_packet),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册