diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-01-08 13:24:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-03 19:42:36 -0500 |
commit | 354b0a643e89dd3163278c9a0ac9cbcb9ef5c298 (patch) | |
tree | 82d6bb14803ee6a608b89921ecaaee564b01d392 /drivers/staging/hv/StorVsc.c | |
parent | 99358ca725513de0a97971eb019d4a5544d83760 (diff) |
Staging: hv: remove unneeded OnHostReset callback
This callback only calls one function, so just call the function
instead, no need for indirection at all.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/StorVsc.c')
-rw-r--r-- | drivers/staging/hv/StorVsc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/hv/StorVsc.c b/drivers/staging/hv/StorVsc.c index 2f7c425896f..38ea1407f22 100644 --- a/drivers/staging/hv/StorVsc.c +++ b/drivers/staging/hv/StorVsc.c | |||
@@ -625,7 +625,7 @@ static int StorVscOnDeviceRemove(struct hv_device *Device) | |||
625 | return 0; | 625 | return 0; |
626 | } | 626 | } |
627 | 627 | ||
628 | static int StorVscOnHostReset(struct hv_device *Device) | 628 | int StorVscOnHostReset(struct hv_device *Device) |
629 | { | 629 | { |
630 | struct storvsc_device *storDevice; | 630 | struct storvsc_device *storDevice; |
631 | struct storvsc_request_extension *request; | 631 | struct storvsc_request_extension *request; |
@@ -842,7 +842,6 @@ int StorVscInitialize(struct hv_driver *Driver) | |||
842 | storDriver->Base.OnCleanup = StorVscOnCleanup; | 842 | storDriver->Base.OnCleanup = StorVscOnCleanup; |
843 | 843 | ||
844 | storDriver->OnIORequest = StorVscOnIORequest; | 844 | storDriver->OnIORequest = StorVscOnIORequest; |
845 | storDriver->OnHostReset = StorVscOnHostReset; | ||
846 | 845 | ||
847 | DPRINT_EXIT(STORVSC); | 846 | DPRINT_EXIT(STORVSC); |
848 | 847 | ||