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

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

Staging: hv: storvsc: call vmbus_recvpacket 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 559f816e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@
#include "storvsc_api.h"
#include "vmbus_packet_format.h"
#include "vstorage.h"
#include "channel.h"


struct storvsc_request_extension {
@@ -451,8 +452,7 @@ static void StorVscOnChannelCallback(void *context)
	}

	do {
		ret = device->Driver->VmbusChannelInterface.RecvPacket(device,
				packet,
		ret = vmbus_recvpacket(device->channel, packet,
				       ALIGN_UP(sizeof(struct vstor_packet), 8),
				       &bytesRecvd, &requestId);
		if (ret == 0 && bytesRecvd > 0) {