Skip to content
Snippets Groups Projects
Commit 1382e017 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: hv: storvsc: call vmbus_close 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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 70bfa307
No related branches found
No related tags found
No related merge requests found
...@@ -599,7 +599,7 @@ static int StorVscOnDeviceRemove(struct hv_device *Device) ...@@ -599,7 +599,7 @@ static int StorVscOnDeviceRemove(struct hv_device *Device)
DPRINT_INFO(STORVSC, "storage device (%p) safe to remove", storDevice); DPRINT_INFO(STORVSC, "storage device (%p) safe to remove", storDevice);
/* Close the channel */ /* Close the channel */
Device->Driver->VmbusChannelInterface.Close(Device); vmbus_close(Device->channel);
FreeStorDevice(storDevice); FreeStorDevice(storDevice);
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment