Staging: hv: storvsc: Cleanup returned error code in storvsc_host_reset()

Use standard Linux error codes.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
K. Y. Srinivasan 2011-08-25 09:49:08 -07:00 committed by Greg Kroah-Hartman
parent 1920da8801
commit f3b741658c

View File

@ -346,7 +346,7 @@ static int storvsc_host_reset(struct hv_device *device)
stor_device = get_stor_device(device);
if (!stor_device)
return -1;
return -ENODEV;
request = &stor_device->reset_request;
vstor_packet = &request->vstor_packet;