Staging: hv: storvsc: Cleanup storvsc_device_alloc()
The code in storvsc_device_alloc() is not needed as this would be done by default. Get rid of it. We still keep the function as we use this hook to allocate per-LUN memory pools in a later patch. 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
039db52de9
commit
2781866484
|
@ -790,11 +790,6 @@ static void storvsc_get_ide_info(struct hv_device *dev, int *target, int *path)
|
|||
|
||||
static int storvsc_device_alloc(struct scsi_device *sdevice)
|
||||
{
|
||||
/*
|
||||
* This enables luns to be located sparsely. Otherwise, we may not
|
||||
* discovered them.
|
||||
*/
|
||||
sdevice->sdev_bflags |= BLIST_SPARSELUN | BLIST_LARGELUN;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue