mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
Staging: hv: netvsc: call vmbus_receivepacket_raw 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
adaee6bd45
commit
9f630068e8
@ -1261,9 +1261,8 @@ static void NetVscOnChannelCallback(void *Context)
|
||||
}
|
||||
|
||||
do {
|
||||
ret = device->Driver->VmbusChannelInterface.RecvPacketRaw(
|
||||
device, buffer, bufferlen,
|
||||
&bytesRecvd, &requestId);
|
||||
ret = vmbus_recvpacket_raw(device->channel, buffer, bufferlen,
|
||||
&bytesRecvd, &requestId);
|
||||
if (ret == 0) {
|
||||
if (bytesRecvd > 0) {
|
||||
DPRINT_DBG(NETVSC, "receive %d bytes, tid %llx",
|
||||
|
Loading…
Reference in New Issue
Block a user