summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2010-10-21 18:53:11 +0200
committerGreg Kroah-Hartman2010-10-21 18:53:11 +0200
commit1382e0178eeb073594c90a80409e0923adc5048c (patch)
treed98dbca92b55603de33f1c2572df815610d6af2d /drivers
parentStaging: hv: channel: export vmbus_close to modules (diff)
downloadkernel-qcow2-linux-1382e0178eeb073594c90a80409e0923adc5048c.tar.gz
kernel-qcow2-linux-1382e0178eeb073594c90a80409e0923adc5048c.tar.xz
kernel-qcow2-linux-1382e0178eeb073594c90a80409e0923adc5048c.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/hv/storvsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/storvsc.c b/drivers/staging/hv/storvsc.c
index 6249cd076a25..d63cd37743b4 100644
--- 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;