Staging: hv: netvsc: call vmbus_sendpacket_pagebuffer 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: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
713efeb4db
commit
ff3f8eece2
1 changed files with 6 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue