Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51255071 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 4cb106fa
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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),