Skip to content

Commit

Permalink
Staging: hv: storvsc: Cleanup error handling in storvsc_connect_to_vsp()
Browse files Browse the repository at this point in the history
Cleanup error handling in storvsc_connect_to_vsp().

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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent 5260e29 commit cae50a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/hv/storvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ static int storvsc_connect_to_vsp(struct hv_device *device, u32 ring_size)
storvsc_on_channel_callback, device);

if (ret != 0)
return -1;
return ret;

ret = storvsc_channel_init(device);

Expand Down

0 comments on commit cae50a2

Please sign in to comment.