summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2011-12-01 04:59:17 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-01 10:26:59 -0800
commit2781866484624fabbe373b95cfd20d44d2c9a69e (patch)
treeeba8779a03d074a0e4d71f7469c9efd42ef33c43 /drivers/staging/hv
parent039db52de9c5682ee10a3cd69f2d76db40b1dee0 (diff)
downloadop-kernel-dev-2781866484624fabbe373b95cfd20d44d2c9a69e.zip
op-kernel-dev-2781866484624fabbe373b95cfd20d44d2c9a69e.tar.gz
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>
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r--drivers/staging/hv/storvsc_drv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c
index 9153f98..14ecb69 100644
--- a/drivers/staging/hv/storvsc_drv.c
+++ b/drivers/staging/hv/storvsc_drv.c
@@ -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;
}
OpenPOWER on IntegriCloud