提交 1382e017 编写于 作者: G Greg Kroah-Hartman

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: NGreg Kroah-Hartman <gregkh@suse.de>
上级 70bfa307
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册