mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-05 02:59:13 +07: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,8 +1261,7 @@ static void NetVscOnChannelCallback(void *Context)
|
||||
}
|
||||
|
||||
do {
|
||||
ret = device->Driver->VmbusChannelInterface.RecvPacketRaw(
|
||||
device, buffer, bufferlen,
|
||||
ret = vmbus_recvpacket_raw(device->channel, buffer, bufferlen,
|
||||
&bytesRecvd, &requestId);
|
||||
if (ret == 0) {
|
||||
if (bytesRecvd > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user