diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 12:53:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 12:53:11 -0400 |
commit | 1382e0178eeb073594c90a80409e0923adc5048c (patch) | |
tree | d98dbca92b55603de33f1c2572df815610d6af2d | |
parent | 70bfa307861c8790ce72ae92c4e173c898cc8ff3 (diff) |
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>
-rw-r--r-- | drivers/staging/hv/storvsc.c | 2 |
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) | |||
599 | DPRINT_INFO(STORVSC, "storage device (%p) safe to remove", storDevice); | 599 | DPRINT_INFO(STORVSC, "storage device (%p) safe to remove", storDevice); |
600 | 600 | ||
601 | /* Close the channel */ | 601 | /* Close the channel */ |
602 | Device->Driver->VmbusChannelInterface.Close(Device); | 602 | vmbus_close(Device->channel); |
603 | 603 | ||
604 | FreeStorDevice(storDevice); | 604 | FreeStorDevice(storDevice); |
605 | return 0; | 605 | return 0; |