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:
Greg Kroah-Hartman 2010-10-21 09:09:48 -07:00
parent adaee6bd45
commit 9f630068e8

View File

@ -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",