mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 09:56:00 +00:00
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: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
70bfa30786
commit
1382e0178e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user