Staging: hv: storvsc: call vmbus_sendpacket_multipagebuffer directly
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Oct 2010 16:26:50 +0000 (09:26 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Oct 2010 16:26:50 +0000 (09:26 -0700)
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>
drivers/staging/hv/storvsc.c

index a270396ee52082a51c340d2b0383e7aa8e63926a..ef01b94d350cc7dbc46a718957ecd90b2e288a73 100644 (file)
@@ -735,8 +735,7 @@ static int StorVscOnIORequest(struct hv_device *Device,
                   vstorPacket->VmSrb.CdbLength);
 
        if (requestExtension->Request->DataBuffer.Length) {
-               ret = Device->Driver->VmbusChannelInterface.
-                       SendPacketMultiPageBuffer(Device,
+               ret = vmbus_sendpacket_multipagebuffer(Device->channel,
                                &requestExtension->Request->DataBuffer,
                                vstorPacket,
                                sizeof(struct vstor_packet),