From: Greg Kroah-Hartman Date: Thu, 21 Oct 2010 16:32:46 +0000 (-0700) Subject: Staging: hv: netvsc: call vmbus_sendpacket_pagebuffer directly X-Git-Tag: upstream/snapshot3+hdmi~12602^2~3^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff3f8eece20bb45f8b515641b3797b6047a657fd;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Staging: hv: netvsc: call vmbus_sendpacket_pagebuffer 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/netvsc.c b/drivers/staging/hv/netvsc.c index db34013..71a8dba 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c @@ -912,12 +912,12 @@ static int NetVscOnSend(struct hv_device *Device, sendMessage.Messages.Version1Messages.SendRNDISPacket.SendBufferSectionSize = 0; if (Packet->PageBufferCount) { - ret = Device->Driver->VmbusChannelInterface.SendPacketPageBuffer( - Device, Packet->PageBuffers, - Packet->PageBufferCount, - &sendMessage, - sizeof(struct nvsp_message), - (unsigned long)Packet); + ret = vmbus_sendpacket_pagebuffer(Device->channel, + Packet->PageBuffers, + Packet->PageBufferCount, + &sendMessage, + sizeof(struct nvsp_message), + (unsigned long)Packet); } else { ret = Device->Driver->VmbusChannelInterface.SendPacket(Device, &sendMessage,