Skip to content

Commit

Permalink
Staging: hv: storvsc: call vmbus_sendpacket_multipagebuffer directly
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Oct 21, 2010
1 parent 4cb106f commit 5125507
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/hv/storvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 5125507

Please sign in to comment.