diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 09:09:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 09:09:48 -0700 |
commit | 9f630068e8ccba24d728f196cb3ddc120ebee38e (patch) | |
tree | 16f9422807a0f2ad890611e9b66f6a399e54c58b /drivers | |
parent | adaee6bd45f6e172cde0a98461e4e1ba19284373 (diff) | |
download | talos-obmc-linux-9f630068e8ccba24d728f196cb3ddc120ebee38e.tar.gz talos-obmc-linux-9f630068e8ccba24d728f196cb3ddc120ebee38e.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/hv/netvsc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c index 1c15f9a1a12b..db340135d63f 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c @@ -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", |