mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
Staging: hv: storvsc: Fix/cleanup some dated comments in storvsc.c
Fix/cleanup some dated comments in storvsc.c. 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:
parent
e9bda4348b
commit
1920da8801
1 changed files with 3 additions and 5 deletions
|
|
@ -166,7 +166,6 @@ static int storvsc_channel_init(struct hv_device *device)
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
/* TODO: Check returned version */
|
||||
if (vstor_packet->operation != VSTOR_OPERATION_COMPLETE_IO ||
|
||||
vstor_packet->status != 0)
|
||||
goto cleanup;
|
||||
|
|
@ -193,7 +192,6 @@ static int storvsc_channel_init(struct hv_device *device)
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
/* TODO: Check returned version */
|
||||
if (vstor_packet->operation != VSTOR_OPERATION_COMPLETE_IO ||
|
||||
vstor_packet->status != 0)
|
||||
goto cleanup;
|
||||
|
|
@ -384,11 +382,12 @@ int storvsc_dev_add(struct hv_device *device,
|
|||
|
||||
/* Save the channel properties to our storvsc channel */
|
||||
|
||||
/* FIXME: */
|
||||
/*
|
||||
* If we support more than 1 scsi channel, we need to set the
|
||||
* port number here to the scsi channel but how do we get the
|
||||
* scsi channel prior to the bus scan
|
||||
* scsi channel prior to the bus scan.
|
||||
*
|
||||
* The host does not support this.
|
||||
*/
|
||||
|
||||
stor_device->port_number = device_info->port_number;
|
||||
|
|
@ -545,4 +544,3 @@ int storvsc_get_major_info(struct storvsc_device_info *device_info,
|
|||
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue