Skip to content

Commit

Permalink
Staging: hv: storvsc: call vmbus_close 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 70bfa30 commit 1382e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/hv/storvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ static int StorVscOnDeviceRemove(struct hv_device *Device)
DPRINT_INFO(STORVSC, "storage device (%p) safe to remove", storDevice);

/* Close the channel */
Device->Driver->VmbusChannelInterface.Close(Device);
vmbus_close(Device->channel);

FreeStorDevice(storDevice);
return 0;
Expand Down

0 comments on commit 1382e01

Please sign in to comment.