projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70bfa30
)
Staging: hv: storvsc: call vmbus_close directly
author
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 21 Oct 2010 16:53:11 +0000
(09:53 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 21 Oct 2010 16:53:11 +0000
(09:53 -0700)
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>
drivers/staging/hv/storvsc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/hv/storvsc.c
b/drivers/staging/hv/storvsc.c
index 6249cd076a253eab65b18aa08bae86aa8122899d..d63cd37743b4f2c4d49b3c561246fda1691da098 100644
(file)
--- a/
drivers/staging/hv/storvsc.c
+++ b/
drivers/staging/hv/storvsc.c
@@
-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;